I would like to solve the problem which is on the bottom.
but Its hard to start it.
Could you please provide me pseudocode?
=================================================
Different banks offer different interest rates on saving accounts, compounded annually. Write a program that generates a summary table showing how much money a person will accumulate over a certain number of years, assuming that the person makes an initial investment and deposits s a fixed amount of money yearly. Your table should indicate for each year the current balance, the interest, the new deposit, and the new balance. See the sample output.
Program requirements (you will be graded based on these)
1. You must start with writing a pseudocode.
2. You must provide comments in your program.
3. You must use variable names to print any output.
4. You must use appropriate variable names.
5. Your program must include three different methods(see below)
6. You must have correct indentation throughout your program
7. Your program must produce exact same output as provided .
List of the methods:
1. A method to calculate the amount of yearly interest
2. A method to generate the summary table
3. A method to print the description of your program.
========================================================
public static void main(String[] args)
{
//declare all your variables
//for loop 1 to number of banks to be compared
{
//prompt the user for all the needed data
//Call prinTable method
}
}
public static double interest(double amount, double rate)
{
//calculate the interest and return the result
}
public static void printTable(double amount, int periods, double rate, double
deposit, String name)
{
//for loop for the number of years the money is going to in saving account
{
//call method interest to calculate the yearly interest
//calculate the new amount of money for each year
//print the information for each year
}
}
public static void description()
{
//Print the description of what your program does
}