I have been working on a pig latin converter. If a letter starts with a vowel or number it should end with way if it begins with a consonant it should revert the letters so the first one begins with aeiouy like chair should be airchay. Everything in my program works but can someone tell me why im getting aircay instead of airchay?
karodhill 0 Newbie Poster
Recommended Answers
Jump to PostWithout your code, there isn't much to say. Post it here.
Jump to PostHello,
You would need to build a special test for consonant pairs (ch,gl,gh,fl sh,th,st,sp kn,sn,sl,pl,wh, and any others you can think of...) like you did for the vowels. You will need to put it before the single consonant process to eliminate them before you get to that part. Also you …
All 6 Replies
rubberman 1,355 Nearly a Posting Virtuoso Featured Poster
karodhill 0 Newbie Poster
Minimalist 96 Posting Pro
rch1231 169 Posting Shark
karodhill 0 Newbie Poster
Mr.M 89 Future Programmers
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.