Update description of pig-latin algorithm (#21235)
This commit is contained in:
committed by
Kristofer Koishigawa
parent
aa050465e9
commit
7304bdc0af
@ -10,6 +10,7 @@ challengeType: 5
|
||||
Translate the provided string to pig latin.
|
||||
<a href="http://en.wikipedia.org/wiki/Pig_Latin" target="_blank">Pig Latin</a> takes the first consonant (or consonant cluster) of an English word, moves it to the end of the word and suffixes an "ay".
|
||||
If a word begins with a vowel you just add "way" to the end.
|
||||
If a word does not contain a vowel, just add "ay" to the end.
|
||||
Input strings are guaranteed to be English words in all lowercase.
|
||||
Remember to use <a href='http://forum.freecodecamp.org/t/how-to-get-help-when-you-are-stuck/19514' target='_blank'>Read-Search-Ask</a> if you get stuck. Try to pair program. Write your own code.
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user