Skip to content

lmac02/DevPSU_Proj4

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

DevPSU_Proj4

Project repository for Lesson 4, DevPSU

Ancay youyay eakspay igpay atinlay? (Can you speak pig latin?) If you can’t, here are the rules:

If a word begins with a consonant, take all of the letters before the first vowel and move them to the end of the word, then add ay to the end of the word. Examples: pig ? igpay, there ? erethay.

If a word begins with a vowel (a, e, i, o, u, or y), simply add yay to the end of the word. For this problem, y is always a vowel. Examples: and ? andyay, ordinary ?ordinaryyay.

Although there are many variants of Pig Latin (such as Kedelkloppersprook in Germany), for this problem we will always use the rules described above.

A friend of yours was frustrated with everyone writing in Pig Latin and has asked you to write a program to translate to Pig Latin for him. Ouldway youyay ebay osay indkay otay oday ityay? (Would you be so kind to do it?)

About

Project repository for Lesson 4, DevPSU

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages