subject
Computers and Technology, 14.07.2020 17:01 neash31

java A bank in your town updates its customers’ accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer’s balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows: a) Savings accounts receive 4% interest. b) Checking accounts with balances of up to $5000 more than the mini- mum balance receive 3% interest; otherwise, the interest is 5%. Write a program that reads a customer’s account number (int type), account type (char type; s or S for savings, c or C for checking), minimum balance that the account should maintain, and current balance. The program should then output the account number, account type, current balance, and new balance or an appropriate error message. Test your program by running it five times, using the following data: 46728 S 1000 2700

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 16:10
Which is a benefit of peer-to-peer networking? easy to add or remove devices main server has a fast processor more reliable than a client/server network same software versions on all computers
Answers: 3
question
Computers and Technology, 22.06.2019 23:50
List a few alternative options and input and output over the standerd keyboard and monitor. explain their functioning in details.
Answers: 2
question
Computers and Technology, 24.06.2019 15:00
Universal windows platform is designed for which windows 10 version?
Answers: 1
question
Computers and Technology, 25.06.2019 08:10
Spreadsheet software is more powerful than financial planning software. - true or false
Answers: 2
You know the right answer?
java A bank in your town updates its customers’ accounts at the end of each month. The bank offers t...
Questions
question
Mathematics, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
Mathematics, 06.07.2019 20:00
question
History, 06.07.2019 20:00
Questions on the website: 13722360