The object of this program is to create a account program to indicate 2 questions per month. I recorded the month input, now the question is.. How do I write the loop to repeatedly ask the two questions and stop at the month the input number was set at?
System.out.println("How many months had passed since the account was established?");
months = keyboard.nextInt();
//count should be months, not sure how to word it from the month input.
int count=0; for(count=0;count<13;count++)
{ System.out.println("How much did you deposit this month?");
System.out.println("How much did you withdraw this month?");
System.out.println("Your monthly interest is");
}