nk in your town updates savings and cheque. Every customer must maintain a minimum balance. customers bank offers two types of Minimum balances for the accounts are: • Savings : R 1000.00 Cheque: R 1500.00 If a customer's balance falls below the minimum balance, there is a service charge of R50.00 for savings accounts and R100.00 for cheque accounts. If the balance at the end of the month is at least the minimum balance, the client receives interest as follows: Savings accounts receive 4% interest on the balance. • Cheque accounts with balances of up to R 5000.00 more than the minimum balance receive 3% interest; otherwise, accounts with balances more than R 5000.00 more than the minimum balance receive 5% interest. Write a program that requests the user to enter a customer's account number (int type), account type (char type - S for savings, C for checking) and current balance. The updated balance must be displayed. The program should continue updating accounts until the value 999 is entered as an account number. The number of savings and cheque account updated determined and must be displayed – see example output.

Operations Research : Applications and Algorithms
4th Edition
ISBN:9780534380588
Author:Wayne L. Winston
Publisher:Wayne L. Winston
Chapter13: Decision Making Under Uncertainty
Section13.4: Decision Trees
Problem 5P
icon
Related questions
Question
nk in your town updates
savings and cheque. Every customer must maintain a minimum balance.
customers
bank offers two types of
Minimum balances for the accounts are:
• Savings : R 1000.00
Cheque: R 1500.00
If a customer's balance falls below the minimum balance, there is a service charge of R50.00 for savings accounts and
R100.00 for cheque accounts. If the balance at the end of the month is at least the minimum balance, the client
receives interest as follows:
Savings accounts receive 4% interest on the balance.
• Cheque accounts with balances of up to R 5000.00 more than the minimum balance receive 3% interest;
otherwise, accounts with balances more than R 5000.00 more than the minimum balance receive 5% interest.
Write a program that requests the user to enter a customer's account number (int type), account type (char type - S
for savings, C for checking) and current balance. The updated balance must be displayed.
The program should continue updating accounts until the value 999 is entered as an account number.
The number of savings and cheque account updated determined and must be displayed – see example output.
Transcribed Image Text:nk in your town updates savings and cheque. Every customer must maintain a minimum balance. customers bank offers two types of Minimum balances for the accounts are: • Savings : R 1000.00 Cheque: R 1500.00 If a customer's balance falls below the minimum balance, there is a service charge of R50.00 for savings accounts and R100.00 for cheque accounts. If the balance at the end of the month is at least the minimum balance, the client receives interest as follows: Savings accounts receive 4% interest on the balance. • Cheque accounts with balances of up to R 5000.00 more than the minimum balance receive 3% interest; otherwise, accounts with balances more than R 5000.00 more than the minimum balance receive 5% interest. Write a program that requests the user to enter a customer's account number (int type), account type (char type - S for savings, C for checking) and current balance. The updated balance must be displayed. The program should continue updating accounts until the value 999 is entered as an account number. The number of savings and cheque account updated determined and must be displayed – see example output.
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Topological Sort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Operations Research : Applications and Algorithms
Operations Research : Applications and Algorithms
Computer Science
ISBN:
9780534380588
Author:
Wayne L. Winston
Publisher:
Brooks Cole
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage