Assignemnt #39 A Little Quiz

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: A Little Quiz
    ///File Name: ALittleQuiz.java

  import java.util.Scanner;

public class ALittleQuiz
{
    public static void main( String[] args )
    {
        Scanner momo= new Scanner(System.in);
            
        int Q, QQ, QQQ, QQQQ;
            
        System.out.println ( " Are you ready for a test: 1)yes, 2)no? " );
        Q=momo.nextInt();
            
        if ( Q==1 )
		{
			System.out.println( " Well you're in luck." );
            }
        if ( Q==2 )
		{
			System.out.println( "Too bad you have to take one anyway." );
            }

        System.out.println ( " Q1) Who is the coolest cat in the litter: 1) Momo swag, 2) Other? " );
        QQ=momo.nextInt();
        
            if ( QQ==1 )
		{
			System.out.println(" Correct!!! Damn right she is! That ones obvious you must be stupid if you didn't get that right" );
            }
        if ( QQ==2 )
		{
			System.out.println( " False!!! That ones obvious you must be stupid if you didn't get that right." );
            }
        
        System.out.println ( " Q2) Who is more awesome: 1) momo, 2) stella? " );
        QQQ=momo.nextInt();
        
        if ( QQQ==1 )
		{
			System.out.println( "Correct!!! There is no one more awesome than momo!" );
            }
            if ( QQQ==2 )
		{
			System.out.println( "False!!! Stella is the least awesome person ever" );
            }
            
            System.out.println ( "Morgan is 99.9% goose: 1) true, 2) false?" );
            
       QQQQ=momo.nextInt();
    
    if ( QQQQ==1 )
		{
			System.out.println(" Correct!!! Momo is the second most goose person alive.  Her dog, the creator of goose, is number one." );
            }
        if ( QQQQ==2 )
		{
			System.out.println( "False!!! Momo is the second most goose person alive.  Her dog, the creator of goose, is number one." );
        }
  
    if ( QQ==1 && QQQ==1 && QQQQ==1 )
		{
			System.out.println( " You got 3 out of 3, you're a superstar." );
            }
       if ( QQ==2 && QQQ==1 && QQQQ==1 )
		{
			System.out.println( " You got 2 out of 3." );
            }
if ( QQ==1 && QQQ==2 && QQQQ==1 )
		{
			System.out.println( " You got 2 out of 3." );
           }
    if ( QQ==1 && QQQ==1 && QQQQ==2 )
		{
			System.out.println( " You got 2 out of 3." );
            }
    if ( QQ==2 && QQQ==2 && QQQQ==1 )
		{
			System.out.println( " You got 1 out of 3." );
            }
    if ( QQ==1 && QQQ==2 && QQQQ==2 )
		{
			System.out.println( " You got 2 out of 3." );
            }
    }
}
    

Picture of Output

Assignment 39