for (int age = input.nextInt(); age <= 65 && age > 0; age-5){
System.out.println("What do miss about being " + age + " years old: ?");
String life = input.nextLine();
}
This post has been edited by streek405: 27 July 2013 - 02:21 PM




Posted 27 July 2013 - 01:29 PM
for (int age = input.nextInt(); age <= 65 && age > 0; age-5){
System.out.println("What do miss about being " + age + " years old: ?");
String life = input.nextLine();
}
This post has been edited by streek405: 27 July 2013 - 02:21 PM
Posted 27 July 2013 - 01:48 PM
Posted 27 July 2013 - 01:50 PM
age-=5
Posted 27 July 2013 - 02:06 PM
Posted 27 July 2013 - 02:11 PM
StrongJoshua, on 27 July 2013 - 02:06 PM, said:
while (age <= 65 && age > 0){
System.out.println("What do miss about being " + age + " years old: ?");
String life = input.nextLine();
age-=5;
}
Posted 27 July 2013 - 02:24 PM
StrongJoshua, on 27 July 2013 - 01:50 PM, said:
age-=5
Posted 27 July 2013 - 03:07 PM
age = age - 5;
while (age <= 65 && age >= 5){
age-=5;
System.out.println("What do miss about being " + age + " years old: ?");
String life = input.nextLine();
}
