Write a program that prompts the user to enter a string and displays the string in reverse

Question:

Write a program that prompts the user to enter a string and displays the string in reverse order.
Enter a string: ABCD
The reversed string is DCBA

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Question Posted: