From f142eed6efe971c7a38578259ff793ebdfa67f2e Mon Sep 17 00:00:00 2001 From: Joseph Crandal Date: Thu, 26 Mar 2020 18:38:07 -0400 Subject: [PATCH] Fix pig latin challenge description (#38018) * Fix pig latin challenge description Added statement for beginning with consonants and if a vowel does not begin with a vowel. * fix: update description/instructions * fix: removed extra line break Co-Authored-By: Oliver Eyton-Williams * fix: removed extra line break Co-Authored-By: Oliver Eyton-Williams Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com> Co-authored-by: Oliver Eyton-Williams --- .../pig-latin.english.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 c7455a04d9..dc6c6ae993 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 @@ -8,16 +8,14 @@ forumTopicId: 16039 ## Description
-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. +Pig Latin is a way of altering English Words. The rules are as follows: +- If a word begins with a consonant, take the first consonant or consonant cluster, move it to the end of the word, and add "ay" to it. +- If a word begins with a vowel, just add "way" at the end.
## Instructions
- +Translate the provided string to Pig Latin. Input strings are guaranteed to be English words in all lowercase.
## Tests