@@ -0,0 +1,1198 @@
+import java.util.Scanner;%0A%0Apublic class GenderGame %7B%0A%0A    public static void main(String%5B%5D args) %7B%0A     Scanner keyboard = new Scanner(System.in);%0A    %0A     System.out.print(%22What is your gender (M or F): %22);%0A     String gender = keyboard.nextLine();%0A     %0A     System.out.print(%22First name: %22);%0A     String firstName = keyboard.nextLine();%0A     %0A     System.out.print(%22Last name: %22);%0A     String lastName = keyboard.nextLine();%0A     %0A     System.out.print(%22Age: %22);%0A     int age = keyboard.nextInt();%0A     keyboard.nextLine();  %0A     if(gender.equals(%22F%22) && age %3E= 20)%7B%0A    %09 System.out.print(%22%5Cr%5CnAre you married, %22+firstName+%22 (y or n)?%22);%0A         String status = keyboard.nextLine();%0A         if (status.equals(%22y%22))%7B%0A        %09 System.out.print(%22Then I shall call you Mrs.%22+lastName);%0A         %7Delse System.out.print(%22Then I shall call you Ms.%22+lastName);%0A     %7D%0A     else if (gender.equals(%22F%22) && age %3C 20) %7B%0A    %09 System.out.print(%22Then I shall call you %22+firstName+' '+lastName);%0A     %7D%0A     else if (gender.equals(%22M%22) && age%3E=20)%7B%0A    %09 System.out.print(%22Then I shall call you Mr.%22+lastName);%0A     %7Delse System.out.print(%22Then I shall call you %22+firstName+' '+lastName);%0A     %0A    %7D%0A%0A%7D%0A

Create GenderGame.java