subject

Your program will read in a file name from cin. it will then open the input file. your program must also open an output file called saleschart. txt. you will write the bar char headings and data to this file. your program needs to have the following general flow: read in the file name open the input file for this file name display a message if the input file does not open and quit your program open the output file ("saleschart. txt") display a message if the output file does not open, close the input file, and quit your program while (readfile into store number and sales for store display an error if the store number or sales are invalid if the data is good output the bar char to the output file end while close the input and output files the processing loop will read the input data and process it until it gets and end of file indication from the file read operation assuming you have read in valid data and this is the first sales data being processed your program should output some headings to the output file before processing the data. the headings are as follows:

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 19:30
When creating a presentation in libre office impress, where does the editing of slides take place?
Answers: 1
question
Computers and Technology, 23.06.2019 07:30
Write a program that inserts the digits of an integer into an array in originalorderfollowed by reverse order. first, promptthe user to enter a positive integer(> 0). determine the number of digits of the integer. create a dynamically allocated integer arrayof a size twice the number of digits.now insert the digits in original order which will occupy half of the array. then, insert the digits in reverse order.finally, output thedigits in thearray.use at least two functions to organize your program.
Answers: 3
question
Computers and Technology, 23.06.2019 17:00
What does the faves button do? a. users mark a web page as a favorite b. leads other readers to favor a specific page c. readers sort and align their favicons, or favorite icons d. leads users to a message board where they can post questions
Answers: 1
question
Computers and Technology, 23.06.2019 22:20
If i uninstall nba 2k 19 from my ps4 will my career be gone forever?
Answers: 2
You know the right answer?
Your program will read in a file name from cin. it will then open the input file. your program must...
Questions
question
Biology, 30.03.2021 20:10
question
Spanish, 30.03.2021 20:10