The purpose of this program is to obtain an array string (word) from the user through the keyboard, and display the first and last letter of the word on the screen. If the first letter in the word entered by the user begins with a consonant, the first character of the word is moved to the last position and append "ay" is added to the end of it. However, if the word begins with a vowel, the program simply adds an "ay" to the end of the word.

Download | Source Code