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 04:00
Which of the following kinds of programs displays an online advertisement in a banner or pop-up window on webpages, email, or other internet service? e
Answers: 2
question
Computers and Technology, 22.06.2019 11:00
What is the foundation for proper monitoring, load balancing and routing in distributed systems
Answers: 3
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, 22.06.2019 22:30
One of your customers wants you to build a personal server that he can use in his home. one of his concerns is making sure he has at least one backup of their data stored on the server in the event that a disk fails. you have decided to back up his data using raid. since this server is for personal use only, the customer wants to keep costs down. therefore, he would like to keep the number of drives to a minimum. which of the following raid systems would best meet the customer's specifications? a. raid 0 b. raid 1 c. raid 5 d. raid 10
Answers: 3
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
History, 26.06.2019 00:00
Questions on the website: 13722363