A C++ project must be developed for managing a banking profile of a client with different types of accounts that can be used by the banking staff. Do the following: Create a struct called Account that consists of the account_number, account_type (cheque/investment/savings), balance and the annual interest_rate. Declare an array to store at least 10 Account structs to represent the banking profile. The user (banking staff) must be able to enter the information for a number of accounts from the keyboard. Ask whether an account must be added (Y or N). If an account must be added, the number for the account must be entered as well as the balance of the account, the letter C, I or S for the type of account and the interest rate on the specific account. The interest rate cannot exceed the value of 10. The number entered by the user must be validated until a value in the range of 1 to 10 has been entered. If the number is not in the correct range, display an error message and ask the user to enter another number until a valid number has been entered. Hint: A do..while loop is ideal to do the validation.
A C++ project must be developed for managing a banking profile of a client with different types of accounts that can be used by the banking staff.
Do the following:
Create a struct called Account that consists of the account_number, account_type (cheque/investment/savings), balance and the annual interest_rate.
Declare an array to store at least 10 Account structs to represent the banking profile.
The user (banking staff) must be able to enter the information for a number of accounts from the keyboard. Ask whether an account must be added (Y or N). If an account must be added, the number for the account must be entered as well as the balance of the account, the letter C, I or S for the type of account and the interest rate on the specific account.
The interest rate cannot exceed the value of 10. The number entered by the user must be validated until a value in the range of 1 to 10 has been entered. If the number is not in the correct range, display an error message and ask the user to enter another number until a valid number has been entered.
Hint: A do..while loop is ideal to do the validation.
Step by step
Solved in 2 steps