Assignemnt #47 and Two More Questions

Code

/// Name: Tristan Chung
/// Period: 5
/// Program Name: Two More Questions 
/// File Name: TwoMore.java
/// Date Finished: 11/9/2015

import java.util.Scanner; 

public class TwoMore
{
    public static void main ( String [] args)
    {
        String q1, q2;
        
        Scanner keyboard = new Scanner(System.in);
        
        System.out.println("Aight, Two More!");
        System.out.println(" ");
        
        System.out.print("Question 1) Does it stay inside or outside or both? ");
        q1 = keyboard.next();
        
        System.out.print("Question 2) Is it a living thing? ");
        q2 = keyboard.next();
        
        if (q1.equals("inside") && q2.equals("yes"))
        {
            System.out.println("Then what else could it be then a guinea pig??");
        }
        if (q1.equals("inside") && q2.equals("no"))
        {
            System.out.println("Then what else could it be then a TV??");
        }
        if (q1.equals("outside") && q2.equals("yes"))
        {
            System.out.println("Then what else could it be then a lion??");
        }
         if (q1.equals("outside") && q2.equals("no"))
        {
            System.out.println("Then what else could it be then dirt??");
        }
         if (q1.equals("both") && q2.equals("yes"))
        {
            System.out.println("Then what else could it be then a dog??");
        }
        if (q1.equals("both") && q2.equals("no"))
        {
            System.out.println("Then what else could it be then a cellphone??");
        }
        
    }
}
    

Picture of the output

Assignment 47