Created
May 20, 2019 18:39
-
-
Save BenMaydan/11bd42e8f20fbf748b74db1e88f104bf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static void print (String to_print) { | |
System.out.println(to_print); | |
} | |
private static void input (String to_print) { | |
Scanner scanner = new Scanner (System.in); | |
System.out.print(to_print); | |
String name = scanner.next(); // Get what the user types. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment