Question: ****** IN JAVA PLEASE.***** I need an example of a program that opens a Customer Bank Account and then displays the Customer Bank Account Information.
****** IN JAVA PLEASE.*****
I need an example of a program that opens a Customer Bank Account and then displays the Customer Bank Account Information.
get input for: initial deposit
use the Math.random() method to generate the bank Account number (section 3.7) range between 1 - 100
set the interestRate (no longer a named constant like last weeks lab) based on the initial deposit:
0-$100 (inclusive) -> interest rate = .025;
$100.01 - $500 (inclusive) -> interest rate = .035;
$500.01 - $1000 (inclusive) -> interest rate = .045;
anything over $1000.00 -> interest rate = .05.
output all the account information: account number, initial deposit and a calculation of future balance in 1 year (assuming no deposits or withdraws - this just gives the bank customer an idea of how their money can grow in 1 year).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
