Question: Reverse a Word Program CSCI 111 Programming and Algorithms I Task list 1. Create a source code file named labll.cpp 2. Start by prompting the



Reverse a Word Program CSCI 111 Programming and Algorithms I Task list 1. Create a source code file named labll.cpp 2. Start by prompting the user for a 5-letter word and saving it into a string. 3. Create a loop that iterates through every character cell and reverses the order of the word by saving it into an array of 5 characters. 4. Display the original word and the new reversed word. 5. Refer to the expected output listing below. SAMPLE OUTPUT Please enter a 5-letter word house The original word is house The word in reverse order is esuoh
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
