#Kata: Pig Latin I#
##Introduction##
Pig Latin is a constructed language game where words in English are altered according to a simple set of rules. Pig Latin takes the first consonant (or consonant cluster) of an English word, moves it to the end of the word and suffixes an ay
- Words that begin with a vowel (a, e, i, o, u) should have "way" appended to the end of the word.
- Words that begin with consonant have all consonant letters up the first vowel moved to the end of the word and append "ay" to the end
PigLatin_returns_ellohay_for_input_hello()
PigLatin_returns_iway_for_input_i()
PigLatin_returns_oveglay_for_input_glove()
Ensure the EnglishToPigLatin()
method takes an entire sentence in English, and returns the sentence in Pig Latin.
PigLatin_returns_EthayIckquayOwnbrayOxfayOverwayEthayAzylayOgday_for_input_TheQuickBrownFoxJumpsOverTheLazyDog()
PigLatin_returns_OdecayAtaskaArewayAwayOodgayAywayOtayOnehayOuryayIllsskay_for_input_()
#Kata: Pig Latin II#
Implement the PigLatinToEnglish()
method.
PigLatin_returns_hello_for_input_ellohay()
PigLatin_returns_i_for_input_iway()
PigLatin_returns_oveglay_for_input_glove()
Ensure the PigLatinToEnglish()
method takes an entire sentence in Pig Latin, and returns the sentence in English.
PigLatin_returns_TheQuickBrownFoxJumpsOverTheLazyDog_for_input_EthayIckquayOwnbrayOxfayOverwayEthayAzylayOgday() ()
PigLatin_returns_CodeKatasAreAGoodWayToHoneYourSkills_for_input_OdecayAtaskaArewayAwayOodgayAywayOtayOnehayOuryayIllsskay()