Assignment #52
Code
///Name: Cody Swain
///Period: 6
///Project Name: WorstNumberGame
///File Name: WorstNumberGame.java
///Date: 11/9/15
import java.util.Scanner;
public class WorstNumberGame
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
int secretNumber = 1;
int guess;
System.out.println("WUHRST NUMMER GAM U CAOOD PLEY!!!1!!1!! ");
System.out.println();
System.out.println("im THIMKING UFFF A ## SOMWER between 1-100000000000000000000. Tryo twoo GeS! ");
guess = keyboard.nextInt();
if (guess == secretNumber )
System.out.println(" LOLOLOL NO whey.! 1 U GOAT ! LOLOL U GIssed CORRECT!! " );
else System.out.println( "LOLolol NOope Ur Stupid " );
}
}
Picture of the output