Project #69228 - C++ Trying to display user input

This program will open a text file (or create one) and then 1) take user input of a name and amount of sales they have earned or 2) view the data of the name, and then a visual representation of that data with asterisks

The asterisks are the part that I am having extreme trouble with. The person with the biggest sales is supposed to have a maximum of 50 asterisks in order to not flood the command line window, and then the rest of them will get a certain amount of asterisks based on the percentage of how much they make up the biggest number (and then times that by 50 to make a graph on the page)

I have tried to do a bubble sort but nothing helps. I am getting really desperate to figure out this code. Please help.

Subject Computer
Due By (Pacific Time) 04/30/2015 05:00 pm
Report DMCA
TutorRating
pallavi

Chat Now!

out of 1971 reviews
More..
amosmm

Chat Now!

out of 766 reviews
More..
PhyzKyd

Chat Now!

out of 1164 reviews
More..
rajdeep77

Chat Now!

out of 721 reviews
More..
sctys

Chat Now!

out of 1600 reviews
More..
sharadgreen

Chat Now!

out of 770 reviews
More..
topnotcher

Chat Now!

out of 766 reviews
More..
XXXIAO

Chat Now!

out of 680 reviews
More..
All Rights Reserved. Copyright by AceMyHW.com - Copyright Policy