Write a short application that takes in a String from the user and prints it out backwards.

What will be an ideal response?

```
import java.util.Scanner;
public class StringReverse {
public static void main(String [] args) {
String inputString;
Scanner input = new Scanner(System.in);
System.out.print("Please enter a string: ");
inputString = input.nextLine();
for(int i = inputString.length – 1; i >= 0; i--)
System.out.print(inputString.charAt(i));

}//end main
}//end class
```

Computer Science & Information Technology

You might also like to view...

Cable Internet access connects to an ISP through a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology

If you would like to see subtotals in a report, you would add a(n) ________ in the Grouping footer section

Fill in the blank(s) with correct word

Computer Science & Information Technology