import java.util.Scanner; public class Driver { public static void main(String [] args) { int age = -1; int catAge = -1; AgeConverter ac = null; Scanner in = null; ac = new AgeConverter(); in = new Scanner(System.in); System.out.print("Enter your age human: "); age = in.nextInt(); if (ac.isValid(age) == false) { System.out.println("Age is outside the valid " + "range 1 - 118"); } else { catAge = ac.convert(age); System.out.println("Human age of " + age + " in cat years is " + catAge); } } }