Question: Answer all questions. Write in C++ language Chapter 4 Repetition Control Structure | 139 5 A bank updates its customers accounts at the end of

Answer all questions.

Write in C++ language

Answer all questions. Write in C++ language Chapter 4 Repetition Control Structure

Chapter 4 Repetition Control Structure | 139 5 A bank updates its customers accounts at the end of each month. The bank offers two types of accounts: savings (S) and current (C) accounts. Every customer must maintain a minimum balance of at least RM500 for a savings account and RM1000 for a current account. If a customer's balance falls below the minimum balance, there is a service charge of RM10 for a savings account and RM25 for a current account. At the end of the month, if the balance is at least the minimum balance, the account receives Interest as follows: Savings accounts will receive 4% interest Current accounts with balance up to RM5000 will receive 3% interest, otherwise the interest is 5% . Write a complete program that reads a customer's name, account number, account type and current balance. The program should then output the customer's name, account number, account type and current balance for each customer and calculate the number of customers for each type of account. Determine the number of customers for each type of account that falls below the minimum balance. This process will continue as many times as the user wishes and will terminate when the user requests to stop vide

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!