Question: (please use JAVA) Solve the following problem using a program: Suppose you save $100 each month into a savings account with an annual interest rate

(please use JAVA)

Solve the following problem using a program: Suppose you save $100 each month into a savings account with an annual interest rate of 5%. Thus, the monthly interest rate is 0.05/12 = 0.00417.

After the first month, the value in the account becomes 100 * (1 + 0.00417) = 100.417

After the second month, the value in the account becomes (100 + 100.417) * (1 + 0.00417) = 201.252

And after the third month, the value in the account becomes (100 + 201.252) * (1 + 0.00417) = 302.507...

and so on.

Write a program that randomly generates monthly savings amounts for the 15 runners in Problem 4. Each monthly saving should be in the range of $100 to $800. Extend the AddressBook class to store the monthly savings generated by the random number generator.

Then, display the final account value for each of the 15 runners.

(please use JAVA) Solve the following problem using a program: Suppose you

(please use JAVA)

UPDATED MORE INFO

1Elena Brandon34112Thomas Molson27323Hamilton Winn27854Suzie Sarandin32975Philip Winne44596Alex Trebok27537Emma Pivoto27548John Lenthen24319James Lean334110Jane Ostin412111Emily Car393412Daniel Hamshire299413Neda Bazdar343314Aaron Smith317615Kate Hen2658

EmployeeSavings Attributes + private double accountValue + private double[] monthlyInterests + private double[] monthly Savings + public static final double ANNUAL_INTEREST RATE Operations + public double getAccountValue) + public double[] calculate Interests() + public double[] generate Monthly Savings() + public double[] getMonthlyInterests() + public double[] getMonthly Savings + public EmployeeSavings(String fn, String In) + public EmployeeSavings(String fn, String In, double[] di, double[] d2) + public static String getReport(Employee Savings[] arr) EmployeeSavings Attributes + private double accountValue + private double[] monthlyInterests + private double[] monthly Savings + public static final double ANNUAL_INTEREST RATE Operations + public double getAccountValue) + public double[] calculate Interests() + public double[] generate Monthly Savings() + public double[] getMonthlyInterests() + public double[] getMonthly Savings + public EmployeeSavings(String fn, String In) + public EmployeeSavings(String fn, String In, double[] di, double[] d2) + public static String getReport(Employee Savings[] arr)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!