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
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
Step by Step Solution
3.31 Rating (154 Votes )
There are 3 Steps involved in it
import javautilScanner public class Exercise0546 public static ... View full answer
Get step-by-step solutions from verified subject matter experts
