Question: //please comment on your code so it can be more clear on my end. // Thank you :) Write a Java program that prompts the

//please comment on your code so it can be more clear on my end.
// Thank you :)
Write a Java program that prompts the user to enter a string and then displays that string in reverse order. The string should be between 1 and 50 characters long. Should the user enter a string too long, your program should warn the user and ask him/her to try again with a string of length at most 50. Show five sample outputs of your code; at most one example is allowed to be a palindrome. Example: AbCD1" reversed becomes "1DCbA. Strings of your choice are allowed to contain one or more whitespaces
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
