diff --git a/day0.java b/day0.java index 31ee0e6..4fd3ea8 100644 --- a/day0.java +++ b/day0.java @@ -5,7 +5,7 @@ import java.util.regex.*; public class Solution { public static void main(String[] args) { - // Create a Scanner object to read input from stdin. + Scanner scan = new Scanner(System.in); // Read a full line of input from stdin and save it to our variable, inputString. @@ -18,7 +18,6 @@ public static void main(String[] args) { // Print a string literal saying "Hello, World." to stdout. System.out.println("Hello, World."); - // TODO: Write a line of code here that prints the contents of inputString to stdout. System.out.println(inputString); } -} \ No newline at end of file +}