C# “To take away or to give?” A bank maintains three types of accounts namely sa
ID: 3908175 • Letter: C
Question
C#
“To take away or to give?”
A bank maintains three types of accounts namely savings, checking, and loan. Write a C# program that uses a while or do … while loop. Inside the loop, prompt the user to input from the keyboard an account number, an account type (s for savings or d for checking c for loan), current balance, and a deposit amount.
Calculate interest as follows:
For savings accounts, the deposit amount is added to the current balance plus 4% interest on the new balance is added.
For checking accounts, the deposit amount is added to the current balance.
For loans, the deposit amount is subtracted from the current balance.
Display a message to the console window showing the new balance. Here is an example interaction session:
Enter account number: 1111
Enter account type: s
Enter the current balance on the account: 5000
Enter deposit amount: 500
New balance on savings account 1111 is $5,720.00
.
.
Explanation / Answer
Ok. Give me a couple of hours while i implement the code along with detailed comments and screenshits for better understanding. I assure you that you won't be disappointed in the solution at all. :):)
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.