Question: please help Exercise#3: Write a program that reads a string from the user with the length of 5. The Program should print the String to
please help Exercise#3: Write a program that reads a string from the user with the length of 5. The Program should print the String to the console but in reverse order. For example, if the String read is "Hello" from the user then your program will print olleH. (Hint: use charAt() method)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
