PIglatin
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"
appended to the word
2) words beginning with a consonant, move the first character to the
end of the word and append "ay"
For example, if the user inputs:
rice
Ant
ice
mary
You should output:
iceray
ntaway
ceiway
arymay.
yeah. and also have to be back from pig latin to english.
all rite guys! pls help me ! i will be waiting for ur replies
thx
casper
|