Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
I have a vector<purchases> v where purchases is defined as: struct purchases { string name; int amount; string item; }; vector<purchases> v; I need to find the 3 top buyers. ie. the name of the top 3 people with the highest accumulated amount. The problem I have is when I … |