Skip to content

Instantly share code, notes, and snippets.

View BenMaydan's full-sized avatar
🏫
College Student

BenMaydan

🏫
College Student
View GitHub Profile
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.
}