Assignemnt #52: A Horrible Number Game!

Code

 /// Name: Sean Harrison
    /// Period: 7
    /// Program name: HorribleNGG
    /// File Name: HorribleNGG.java
    /// Date Finished: 11/3/2015

import java.util.Scanner;
    public class HorribleNGG
    {
        static public void main( String [] args )
        {
        Scanner keyboard = new Scanner(System.in);
        
        
        int choseNumber, a;
        a = 6;
        
        System.out.println( "We're going to play a game now involving the prediction of the whole number between 1-10 that I so desire " );
        System.out.println( "You only have one shot, choose carefully from 1 through 10 " );
        choseNumber = keyboard.nextInt();
        
        if (choseNumber == 6)
        {
            System.out.println( "Nice job, how'd you know that the number was " + a );
        }
            if (choseNumber != 6)
        {
            System.out.println( "Hahaha, you're extremely horrible at this, the correct number was " + a );
        }
        
        }
    }
        
    
 

Picture of the output

Assignment 52