From 7304bdc0af85e2e5b0f0261cb4257ff9f2f92059 Mon Sep 17 00:00:00 2001 From: Kenford20 <41027303+Kenford20@users.noreply.github.com> Date: Mon, 12 Nov 2018 01:13:49 -0600 Subject: [PATCH] Update description of pig-latin algorithm (#21235) --- .../intermediate-algorithm-scripting/pig-latin.english.md | 1 + 1 file changed, 1 insertion(+) diff --git a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md index 876c0e294f..0cf846b19d 100644 --- a/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md +++ b/curriculum/challenges/english/02-javascript-algorithms-and-data-structures/intermediate-algorithm-scripting/pig-latin.english.md @@ -10,6 +10,7 @@ challengeType: 5 Translate the provided string to pig latin. 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". 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 Read-Search-Ask if you get stuck. Try to pair program. Write your own code.