Assignment Chef icon Assignment Chef

[SOLVED] Csc150 assignment 6

5.0 1 customer review Digital download

Digital download

$25.00

Availability
In stock
Checkout
One item

Need a hand?

Message us on WhatsApp for payment or download support.

WhatsApp QR code

The First National Bank of Parkville recently opened up a new “So You Want to Be a Millionaire” savings account. The new account works as follows:

Note: Customers close to $1,000,000 tend to get “accidentally” run over in the bank’s parking lot.

Write a program that prompts the user for a starting balance and then prints the number of www.11ales.to reads $100,000 and the number of years it takes to reach $1,000,000.

Do not forget to use a proper style as your BankBalance.java file (including comments and a purchase section at the top of the file).

Sample session:

Enter starting balance: /0000
It takes 5 years to reach $1,000,000.
It takes 7 years to reach $1,000,000.