Question: Question #3-String manipulation (7pts) In this question you are asked to write a program which transforms any word entered by the user into its equivalent

 Question #3-String manipulation (7pts) In this question you are asked to

Question #3-String manipulation (7pts) In this question you are asked to write a program which transforms any word entered by the user into its equivalent in "Nancy Latin", which is a variation of Pig-Latin. Here is how your program is to behave: 1. 2. 3. 4. Displays a welcome message of your choice. Prompts the user for a word and read it. Displays the number of characters, as well as the first and last characters of the word. Next, create the equivalent word in Nancy-Latin and display it. Here is how to convert to Nancy-Latinas follows: a. b. c. d. e. The first letter of the new word is the last letter of the entered word Followed by the letters ncy Followed by the original word minus the 1st and last letter Followed by nan Followed by the 1st letter of the original word. Comp 218/Winter 2018 Page 3 of 4 Assignment #1 Here are a few examples: i. if the original word is dog, in Nancy-Latin it is gncyonand ii. If the original word is Nancy, in Nancy-Latin it is yncyancnanN 5. Finish off by displaying a closing message. You can assume that the user enters a words with at least 2 characters

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!