Question: in C ++ 2) Write a program that takes in a string from the user, and prints out that string in reverse. Things to remember:
2) Write a program that takes in a string from the user, and prints out that string in reverse. Things to remember: we can use the indexing operation (the [] operation) on C++ std strings. The indexing operation is 0 based, meaning the first accessible index is 0 and the last is the length of the string minus 1 . Also remember how we handle strings as input from the user
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
