Thread: pig latin
View Single Post
  #1 (permalink)  
Old April 12th, 2006, 10:01 PM
xeo xeo is offline
Registered User
 
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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



Reply With Quote