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, 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 14:30
Select the correct answer. a company wants to use online methods to target more customers. it decides to conduct a market research by collecting the data of a few customers with their consent. they want to track data of the sites that their customers frequently visit. which software can the company? a. spyware b. bots c. adware d. trojan horse e. rootkits
Answers: 1
question
Computers and Technology, 23.06.2019 20:00
Match the file formats with the types of multimedia they can store
Answers: 2
question
Computers and Technology, 24.06.2019 08:00
Arah has entered data about football players from team a and team b in a worksheet. she enters names of players from team a with details about each player in different columns of the worksheet. similarly, she enters details of all the players from team b. which option will her view the data for team a and team b in two separate sections after printing? a. page break view b. freeze pane view c. split screen view d. full screen view e. zoom out view
Answers: 1
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
Mathematics, 09.04.2020 23:11
question
Business, 09.04.2020 23:11
question
Mathematics, 09.04.2020 23:11
question
English, 09.04.2020 23:11
Questions on the website: 13722363