Write a program for C++
The Straight Talk Bar and Grill has commissioned you to write a program to keep track of its daily sales. The people at the Straight Talk wish you to set up the program so that it prompts Laurie McCool, the manager, for the total sales for a day, and reads in her reply. Now, the Straight Talk does not necessarily check its sales once a week Laurie McCool will be running the program at random intervals. This mcans that you can't count her eatering sales for exactly six days. Therefore your program should iucorporate a loop which will continue to prompt Laurie McCool for a day's total sales until she enters the number 9999. This number will be Lauric's Sentinel Signal that she is done entering the data. Be sure that your program DOESN'T INTERPRET that number as the total sales for a day! After reading in all the data, your program should print out the following information: 1) The number of days for which data was entered. 2) The grand total for all the sales entered. 3) The average for all the sales entered. 4) The best (maximum) sale and the day on which it occurred. 5) The worst (minimum) sale and the day on which it occurred. There are several things that your program should watch out for. FIRST OF ALL, Laurie McCool often partakes of the product she sells and her typing can be erratic. The total sales for a day will always be a positive real number and if your program reads in a negative aumber, it sbould let her know that it is invalid and prompt for more data. Be sure that no negative numbers are used in your program's computation ofe grand total, the average, etc... Also the counter for pumber of days sbould not be incremented when negative numbers are entered. Laurie also occasionally begins to run the program and then changes her mind. In such an instance she types immediately 9999 in repl to tbe first prompt. Your program should handle this event without ABNORMALLY TERMINATING. Be sure that if the grand total, average, etc Laurie sometimes forgets how the program works, so your output should begin with a brief description of the program. Make sure that your prompts are clear. DON T FORGET to tell Laurie how to stop the program. All the results should be carefullv explained. DO NOT USE SCIENTIFIC NOTATION-- LAURIE JUST CAN'THANDLE IT