Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

SQL Database Programming

Authors: Chris Fehily

1st Edition

1937842312, 978-1937842314

More Books

Students also viewed these Databases questions