Joined: Wed Feb 11, 2009 9:01 pm Posts: 1 Has thanked: 0 time Have thanks: 0 time
I need to write a java program that uses a loop to compute the tuition in ten years and it increases 5% every year. I really do not even know where to begin because my teacher is not that helpful, so basically I am trying to teach myself
Code:
import java.util.Scanner;
public class Exercise4_7 {
public static void main(String[] args) { Scanner input = new Scanner(System.in);
int tuition = 10000; int years = 1; int count = 1;{