diff --git a/11 - Getting User Input/src/App.java b/11 - Getting User Input/src/App.java index 08ed717..692d2ac 100644 --- a/11 - Getting User Input/src/App.java +++ b/11 - Getting User Input/src/App.java @@ -14,5 +14,12 @@ public static void main(String[] args) { // Tell them what they entered. System.out.println("You entered: " + value); + + + // Read an entire line (as a String) from the system input (keyboard) + String entireLine = input.nextLine(); + + // Prints the read line to the system output after having transformed it to uppercase + System.out.println(entireLine.toUpperCase()); } } \ No newline at end of file