import java.lancs.BasicIo; public class greetings { public static void main (String[] args) throws Exception { System.out.println (); System.out.println ("Welcome to the greeting program"); System.out.println (); System.out.println ("Choose one of the following:"); System.out.println (); System.out.println (" 1. Greeting in English"); System.out.println (" 2. Greeting in French"); System.out.println (" 3. Greeting in Spanish"); System.out.println (" 4. Greeting in Urdu"); System.out.println (" 5. Greeting in Hindi"); System.out.println (); int choice = BasicIo.readInteger (); System.out.println (); switch (choice) { case 1: System.out.println ("Hello"); break; case 2: System.out.println ("Bonjour"); break; case 3: System.out.println ("Ola"); break; case 4: case 5: System.out.println ("Salaam"); break; default: System.out.println ("Incorrect selection"); break; } } }