// Main method for the Pig Latin Converter // This is the student starting file for Lab02bPigLatin // You shouldn't need to change anything in this file. import java.util.Scanner; class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); // Allows us to type from the keyboard. System.out.print("Enter a string: "); // prompts user to enter a String. String str = input.nextLine(); // Stores the users String in variable str String piggie = PigLatin.convertWord(str); //Sends str to convertWord. System.out.println(); // Prints a blank line System.out.println("Converted word: " + piggie); // Prints out our conversion. System.out.println("goodbye!"); } }