Write C++ code that reads mutliple records (each of format: string, int, float,
ID: 3528424 • Letter: W
Question
Write C++ code that reads mutliple records (each of format: string, int, float, int, float, int, float) from a file named merchants.txt. The fields represent a Venue name, a number of shirts sold, the price of a shirt, a number of posters sold, the price of a poster, a number of albums sold, and the price of an album. All data should be read into appropriate parallel arrays. Then a report should be output to a file named salesResults.txt. This report will need to contain answers to at least three questions concerning the data. You are to decide what questions you are going to address. As an example, you might calculate and report which venue had the highest overall sales. No duplicate venues. Include flowchart and/ or pseudocodeExplanation / Answer
//tell me if you need it updated
https://www.dropbox.com/s/fv2txmxxarcej9q/Item Report.txt
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.