Modify the C++ Loop program (Project #4 – Book Sale Calculator)to accept all input from an external data file, the name of whichis entered by the user, rather than from user input via thekeyboard. The final summary displayed for each book sale shouldbegin with the number of the sale so the individual summaries arevisually separated on the screen. Otherwise, the projectspecifications remain the same.
Your program should continually read data until the end of thefile is reached. No sentinel value will be used to signaltermination of the program, and you may not count the number ofitems in the file and use
OR
OR