Hey everybody, Im kind of new to this forum. I am currently taking a course in programming in the visual basics. We are leaning about If then statements and and I have to create a program and I am confused on how to write the code for it.
Here is the Instructions:
Write a program that requests a lowered case word as input and translates the word into pig latin. The rules for translation a word into pig latin are as follows:
a. If the word begins with a consonant, move the first letter to the end of the word and add ay. for instance chip becomes hipcay.
b. If the word begins with a vowel, add way to the word. for instance, else becomes elseway
so far on the form i have a textbox to input the word. A button to translate. and a textbox for the output translation.
If someone can please help me it would be greatly appreciated. I have spent hours on this one problem.
Here is the Instructions:
Write a program that requests a lowered case word as input and translates the word into pig latin. The rules for translation a word into pig latin are as follows:
a. If the word begins with a consonant, move the first letter to the end of the word and add ay. for instance chip becomes hipcay.
b. If the word begins with a vowel, add way to the word. for instance, else becomes elseway
so far on the form i have a textbox to input the word. A button to translate. and a textbox for the output translation.
If someone can please help me it would be greatly appreciated. I have spent hours on this one problem.