Created
April 27, 2016 15:03
-
-
Save sembozdemir/b4118559e911ccdd49b62c49ebd67028 to your computer and use it in GitHub Desktop.
Main.java oldstyle
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 class Main { | |
public static void main(String[] args) { | |
Scanner scanner = new Scanner(System.in); | |
RandomGenerator randomGenerator = new RandomGenerator(); | |
while(true) { | |
scanner.nextLine(); | |
int number = randomGenerator.getNumber(); | |
System.out.println(number); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment