Created
June 3, 2019 02:44
-
-
Save cmh114933/e48a0d7dd53ab66395a4db467251855e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* PigLatin | |
*/ | |
public class PigLatin { | |
static String pigLatinify(String word){ | |
return ""; | |
} | |
public static void main(String[] args) { | |
System.out.println(pigLatinify("art").equals("art")); | |
System.out.println(pigLatinify("vowel").equals("owelvay")); | |
System.out.println(pigLatinify("nginx").equals("inxngay")); | |
System.out.println(pigLatinify("hello").equals("ellohay")); | |
System.out.println(pigLatinify("Dr").equals("Dray")); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment