/* * Purpose: * * Author: * Date: */ public class A2Program { public void start() { final int START_AMOUNT = 100; int availableFunds = START_AMOUNT; int totalCurrentValue = availableFunds; int time = 0; //The code which declares and initialises //the variables should be put here while(totalCurrentValue >= 1 && time < 5) { time++; //The code which is repeated five times should be //put here } //The code which is done ONCE at the //end of the program should be put here } }