// GuessingGame.java : Defines the entry point for the console application.

import java.util.*;

public class GuessingGame
{

    public static void main(String[] args)
    {
        Scanner input = new Scanner(System.in);
        int number = 42;
        int guess = 0;

        System.out.print("Pick a number (0-100): ");
        guess = input.nextInt();

        if (guess > number)
        {
            System.out.println("Too high!");
        }
        else if (guess < number)
        {
            System.out.println("Too low!");
        }
        else
        {
            System.out.println("Correct!");
        }

    }
}
