(Chapter 5, Programming Exercise 18) the program in Example 5-4 (page 275-277) uses a sentinel control loop to process cookies sales data. Assume that the data is provided in a file and the first line in the file specifies the cost of one box. Modify the program so that it uses an EOF-controlled loop to process the data. To complete this question, complete an algorithm written in text, a flow RAPTOR flow chart, a source code file from the compiler of your choice with a .cpp extension, and a compiled .exe that successfully executes.
(Chapter 5, Programming Exercise 18) enhance the program that you wrote in the previous question by modifying it as follows: When the students started selling cookies, they were told that the students who sell the maximum number of boxes will have 10% of the money they generate donated to their favorite charitable organization. So in addition to the output your program generated in the previous question. Your program should output the names of all the students selling the maximum number of boxes and the amount that will be donated to their charitable organization. To complete this question, complete an algorithm written in text, a flow RAPTOR flow chart, a source code file from the compiler of your choice with a .cpp extension, and a compiled .exe that successfully executes.