20 likes | 110 Views
The Piglatin Generator. Write a Java program that: Reads in a sentence (ignore period) Converts it to Piglatin The rule for translating a word from English to Piglatin is: Move the first letter of the word to its end, taking care to make it lowercase Add an “a” to it.
E N D
The Piglatin Generator • Write a Java program that: • Reads in a sentence (ignore period) • Converts it to Piglatin • The rule for translating a word from English to Piglatin is: • Move the first letter of the word to its end, taking care to make it lowercase • Add an “a” to it
Sample Dialog (Two executions of the Program) Enter a sentence in English: This is a simple English line of text histasiaaaimplesanglisheainelafoaextta Enter a sentence in English: Now is the time for all good men to come to the aid of their country ownasiahetaimetaorfallaaoodgaenmaotaomecaotahetaidaafoaheirtaountryca