package assi2question1;
import java.lang.*;
import java.util.Scanner;
public class Assi2question1 {
public static void main(String[] args) {
int random, userInput;
random = (int)(100.0 * Math.random());
System.out.println(random);
Scanner keyboard = new Scanner(System.in);
System.out.println("Guess an integer number between 0 and 100");
userInput = keyboard.nextInt();
while (userInput != random) {
System.out.println(userInput + " is not the number I guessed. Guess again.");
break;
}
//
// if (userInput = random) {
// System.out.println("Congratulations," + userinput + "was the number I picked");
// }
//
// if (userInput > 100) {
//
// }
//
//if (userInput < 0) {
// System.out.println(userInput + " is low. Please enter a number >= 0");
// }
// if (userInput > 100) {
// System.out.println(userInput + " is high. Please enter a number <= 100");
// }
}
}