// .... // John Wang // // Goal: read .... import java.util.Scanner; public class AgeVote { public static void main(String[] args) { Scanner input = new Scanner(System.in); int age; System.out.print("Input the age: "); age = input.nextInt(); // p.33 if(age >= 18) System.out.println("Go vote"); System.out.println("\n\nDone.\n\n\n"); } }