Question: help with number 6 c ++ 5. Redo Ex do Exercise 4 so that the customer can select multiple items of a particular vpe. A
help with number 6 c ++

5. Redo Ex do Exercise 4 so that the customer can select multiple items of a particular vpe. A sample output in this case is: Welcome to Johnny's Restaurant 1 Bacon and Egg $2.45 2 Muffin $1.98 Coffee $0.50 Tax $0.25 Amount Due $5.18 Write a program whose main function is merely a collection of variable declarations and function calls. This program reads a text and outputs the letters, together with their counts, as explained below in the function printResult. (There can be no global variables! All information must be passed in and out of the functions. Use a structure to store the information.) Your program must consist of at least the following functions: Function openFile: Opens the input and output files. You must pass the file streams as parameters (by reference, of course). If the file does not exist, the program should print an appropriate message and exit. The program must ask the user for the names of the input and output files. Function count: Counts every occurrence of capital letters A-Z and small letters a-z in the text file opened in the function openFile. This information must go into an array of structures. The array must be passed as a parameter, and the file identifier must also be passed as a parameter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
