Prog 52: The Worst Number-Guessing Game Ever
///Name: Ilana Levy
///Period: 5
///Project Name: The Worst Number-Guessing Game Ever
///File Name: numberGuess.java
///Date Finished: 9/21/2015
import java.util.Scanner;
public class numberGuess
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner( System.in );
int number, variable = 4;
System.out.println( "TH WORST NUMBER GESSING GAME EVAR!!!!!!!!!!!!1!");
System.out.print( "I''m thinking of a numbr from 1-10. Try 2 Gess!. " );
number = keyboard.nextInt();
if (number != variable)
{
System.out.println( "WOOT! U SUXOR!!! I PWN J00!!! IT WAS " + variable + "! " );
}
else if ( number == variable)
{
System.out.println( "LOL!!! U GOT IT! I CANT BELIEVE U GUESSED IT WAS " + variable + "! " );
}
}
}