The world’s Largest Sharp Brain Virtual Experts Marketplace Just a click Away
Levels Tought:
Elementary,Middle School,High School,College,University,PHD
| Teaching Since: | May 2017 |
| Last Sign in: | 406 Weeks Ago, 1 Day Ago |
| Questions Answered: | 66690 |
| Tutorials Posted: | 66688 |
MCS,PHD
Argosy University/ Phoniex University/
Nov-2005 - Oct-2011
Professor
Phoniex University
Oct-2001 - Nov-2016
Write a java console application that calculates and displays the bank interest for N bank accounts. N should
be declared as a constant and it should be equal to the largest digit of your student ID number (e.g. if your
ID number is S334261 then N should be equal to 6 and you can declare it as final int N=6). The interest is
based on total amount in account as shown below in Table 1.
Table 1. Amount and Interest
Amount Interest
$0 - $1000 0% (no interest)
$1001 - $5000 2.5%
$5001- $10000 5%
Over $10000 8% (high interest)
The application should ask the user to enter the amount for each account (total N accounts) and calculate the
interest. The application should display the interest for each bank account as shown in the example below.
At the end of the Nth account’s interest, the details such as total interest, lowest interest, highest int
Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll