Skip to content

Instantly share code, notes, and snippets.

@cmh114933
Created June 3, 2019 02:44
Show Gist options
  • Save cmh114933/e48a0d7dd53ab66395a4db467251855e to your computer and use it in GitHub Desktop.
Save cmh114933/e48a0d7dd53ab66395a4db467251855e to your computer and use it in GitHub Desktop.
/**
* 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