Question: IN JAVA LANGUAGE PLEASE!! Write a Program to show how money increases over time given a particular interest rate and a regular deposit amount. The

IN JAVA LANGUAGE PLEASE!!

Write a Program to show how money increases over time given a particular interest rate and a regular deposit amount. The program is written with parameters so that these values could be changed to compute a different interest rate, number of years, starting amount or deposit amount.

Your program also asks the user for name, phone and addresses and display the users info in the format provided in the sample output.

A shell for your program has be provided. You are not allowed to change the list of the parameters or the return type for any of the provided methods.

Your program must exactly provide the following output word by word.

Sample output

IN JAVA LANGUAGE PLEASE!! Write a Program to show how money increases

over time given a particular interest rate and a regular deposit amount.

THIS IS THE PSUEDOCODE:

import java.util.Scanner; public class ShowInterestShell { public static void main(String[] args) { Scanner kb = new Scanner(System.in); //ask how many times do you want to use this app //get the user's input //for( 1 to count) { //call the method getInfo //call the method getInterest } } //this method calls getName, getTelephone, getAddress and out put the user's info on the screen public static void getInfo(Scanner kb) { } //this method gets the user's name and reformat it as shwn in the output, converts it to upper case and returns the result public static String getName(Scanner kb) { return ""; } //this method gets the phone number and reformat shown in the output and returns the result public static String getTelephone(Scanner kb) { return ""; } //this method gets the address and reformat shown in the output and returns the result public static String getAddress(Scanner kb) { return ""; } /*This method asks the info such as initial amount, number of years, ineterst rate, monthly deposit then calls the method printTable and passes the info needed to that method*/ public static void getInterest(Scanner kb) { } /*This program displays a description of the app */ public static void description() { } public static void printTable(double amount, int periods, double rate, double deposit) { //print the header such as Year Interest deposit new balance //output start and the initial amount //for( 1 to the number of years { //call the method getInterest //call the method round to round the calculated ineterst //calculate the balance by adding the amount , interest and deposit //call the method round to round the new balance //display the result } } /*calculate the amount of the interest deposited to the acount after each month which is amount * rate /100*/ public static double getInterest(double amount, double rate) { return 0; } //rounds the given double value to two decimal points public static double round2(double n) { return 0; } } 

Welcome to interest calculator This program shows how money increases over time given a particular interest rate and a regular deposit amount. How many times do you want to use this app: 2 Enter your first and last name separating with one space (all letters in lowercase): gita faroughi Enter your phone number in the format(123 456 7890): 123 456 7890 Enter your address in the following format(6000 J street:Sacramento:CA 95819): 6000 j street:Scaramento:CA 95819 Name: FAROUGHI GITA Phone: 123-456-7890 Address: 6000 J street Sacramento CA 95819 9994444 Enter the initial amount: 1000 Enter the number of the years: 25 Enter the interest rate: 6.7 Enter the monthly deposit: 100 Year Interest Deposit New Balance start 1000.0

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!