public static void main(String[] args) { Scanner s = new Scanner(System.in); System.out.println("Enter grade: (9-12)"); int grade = s.nextInt(); System.out.println("Enter gender: 0 - Male, 1 - Female"); int gender = s.nextInt(); //if the grade or gender is out of range, we should simply output "Invalid input" //if input is valid we will output one of 8 things //9th male - Freshman 9th female - Freshwoman //10th male - Sophomore 10th Female - Soffmore //11th male - Junior 11th Female - Juniorre //12th male - Senor 12th Female - Senior }