Question
Write a C++ program that uses a structure to store the information about a customer account: Name, Address, Account number, and Account balance. The program
Write a C++ program that uses a structure to store the information about a customer account: Name, Address, Account number, and Account balance. The program uses an array of the structures with the size of 50. The program should let the user enter data into the array, change the contents of some members, (like change address, update account balance after deposit or withdraw) and display all the data stored in the array. The program should have a menu-driven user interface. The program needs a search function (by name or account number) to find the customer account in order to display the account information and change the contents. The program needs an input validation for the account balance, deposit amount, and withdraw amount. The example for the menu: 1. Add new customer account 2. Display the information for all customers 3. Find a customer account 4. Quit
In menu 3, there is a sub-menu like below: 1. Display the account information 2. Change the address of a customer 3. Deposit 4. Withdraw 5. Quit
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started