Hey guys I ned some quick help here with a little program, please.
Well I have to do a Turbo C program that translates English sentences into Pig Latin. Accept sentences/lines one at a time until the user types "stop" for the input sentence. I can assume only letters appear that are either upper or lower case, there is no punctuation, and there are less than 80 characters in a sentence (I have to write these assumptions in the user directions). In this Pig Latin, each word is altered by the front consonants (any letters not a,e,i,o,u) being moved to the end and followed by "ay", and words that start with vowels or are all consonants have "way" added to the end. I can assume y is a consonant for this project, unless I want to get fancy, which I dont. An example for this program is: “Do you speak pig latin” would translate to “oDay ouyay eakspay igpay atinlay”.
This proram seems a little tricky. I have some ideas but I get confused alot and a little upset over it. LOL
But Id appreciate it if anyone of you Program experts can help out a guy in trouble. Thanks to anyone who helps me. Its greatly appreciated.