pig latin
hey guyz can u help me on pig latin
For this program you will be working with strings. You are to ask
the user to input a string. Then, make (and print out) the "pig
latin like" version of this string by using the following rule:
1) words beginning with a vowel (A, E, I, O, U) , have the word "way"
attached after the word
ex. egg = eggway
2) words beginning with a consonant, move the characters before the vowels to the
end of the word and append "ay"
ex. trouble = oubletray
using string functions or logical thanks
|