1.1-Introductie-Programmeren

Reversing a String

Difficulty: Filled Filled Outlined

Create a program that prints the contents of a String variable in reverse. You will need to read the content for the variable from the user.

Note that you will need to have a look at String.charAt(..) method from the String class to do so!

Example

Example