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.

Database System Concepts
7th Edition
ISBN:9780078022159
Author:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Chapter1: Introduction
Section: Chapter Questions
Problem 1PE
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.
Recommended textbooks for you
Database System Concepts
Database System Concepts
Computer Science
ISBN:
9780078022159
Author:
Abraham Silberschatz Professor, Henry F. Korth, S. Sudarshan
Publisher:
McGraw-Hill Education
Starting Out with Python (4th Edition)
Starting Out with Python (4th Edition)
Computer Science
ISBN:
9780134444321
Author:
Tony Gaddis
Publisher:
PEARSON
Digital Fundamentals (11th Edition)
Digital Fundamentals (11th Edition)
Computer Science
ISBN:
9780132737968
Author:
Thomas L. Floyd
Publisher:
PEARSON
C How to Program (8th Edition)
C How to Program (8th Edition)
Computer Science
ISBN:
9780133976892
Author:
Paul J. Deitel, Harvey Deitel
Publisher:
PEARSON
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781337627900
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Programmable Logic Controllers
Programmable Logic Controllers
Computer Science
ISBN:
9780073373843
Author:
Frank D. Petruzella
Publisher:
McGraw-Hill Education