@@ -0,0 +1,1231 @@
+%0A//********************************************************************%0A//  PigLatin.java       Author: Lewis/Loftus/Cocking%0A//%0A//  Driver to exercise the PigLatinTranslator class.%0A//********************************************************************%0Aimport java.util.Scanner;%0Apublic class PigLatin%0A%7B%0A   //-----------------------------------------------------------------%0A   //  Reads sentences and translates them into Pig Latin.%0A   //-----------------------------------------------------------------%0A   public static void main (String%5B%5D args)%0A   %7B%0A      String sentence, result, another = %22y%22;%0A      Scanner scan = new Scanner (System.in);%0A      PigLatinTranslator translator = new PigLatinTranslator();%0A      while (another.equalsIgnoreCase(%22y%22))%0A      %7B%0A         System.out.println ();%0A         System.out.println (%22Enter a sentence (no punctuation):%22);%0A         sentence = scan.nextLine();%0A         System.out.println ();%0A         result = translator.translate (sentence);%0A         System.out.println (%22That sentence in Pig Latin is:%22);%0A         System.out.println (result);%0A         System.out.println ();%0A         System.out.print (%22Translate another sentence (y/n)? %22);%0A         another = scan.nextLine();%0A      %7D%0A   %7D%0A%7D%0A%0A

Create PigLatin.java