Question: Write a program that reads sales information for a chain of stores from a file and display a bar graph comparing each store's sales. Create
Write a program that reads sales information for a chain of stores from a file and display a bar graph comparing each store's sales. Create each bar by displaying a row of asterisks, each of which represents $100 in sales. This must be made in C++ 17
YOU MUST GET THE INFORMATION FROM THE TXT FILE, YOU CANNOT ASK FOR SALES USING CIN
The txt file to read from contains this:
1234 405.00 2313 675.23 4324 255.99 987 801.45 1979 615.67 8989 120.98 7325 204.05 123 1034.56 9283 400.24 4570 567.70 7969 445.68 5218 757.27 8382 955.51 681 532.40 8645 729.08
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
