Question: using beginner coding c++ Coding language should be C++ Mandatory Instructions Your assignment is to create the solution for the following interactive program. Please read

 using beginner coding c++ Coding language should be C++ Mandatory InstructionsYour assignment is to create the solution for the following interactive program.

using beginner coding c++

Coding language should be C++

Mandatory Instructions Your assignment is to create the solution for the following interactive program. Please read the program description carefully and use the suggestions below. Although your program will receive input from the keyboard, your final photo on BGLinux will get input from a file through a special command that will simulate user input. No fstream command should be present in this program!!! Name the program file: prog2.cpn Program Design l. Define a struct called Customer that contains members as outlined below struct Customer int id string name Name string zipi double balance: Account balance string pmtDate: / Date of last payment ZIP code 2. Your main function should do the following: Declare Call function menu to get the valid menu choice from the user. The function has no parameters but will return a number between I and 5. USE DATA VALIDATION in the function to make sure the value provided by the user is valid. The menu function a. an array of 30 structures to hold c b. display the following menu: Menu of choie 1. Enter 2. Change account informat1 3. Display all account informatiorn 4. Fin stomer the main create a loop that will execute until the user enters 5 to exit the program. Inside the loop your code should do the follow i. Use an if statement to determine which choice should be executed (1-4): l. If the choice is l invoke a function called addCust to add a new customer to the end of the list. Check to make sure there is room in the array before calling this function. Use an if statement. Use a global constant called MAXCUST set to 30 in the condition. This function's arguments will be the array, and the number of current customers 2. If the choice is 2, invoke function updateCust to update a customer's data. This function's arguments will be the array, and the number of current customers. 3. If the choice is 3, invoke function displayCust to print all of the information in tabular form. Decide on what arguments need to be passed to this function

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!