Assignemnt #20 More Questions
Code
/// Name: Brendan Miller
/// Period: 5
/// Program Name: More Questions
/// File Name: MoreQuestions.java
/// Date Finished: 10/1/2015
import java.util.Scanner;
public class MoreQuestions
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
System.out.println( "Who is the supreme leader?" );
keyboard.next();
System.out.println( "What is 1 divided by 0?" );
keyboard.next();
System.out.println( "Who is Drew Boxold?" );
keyboard.next();
System.out.println( "What is the meaning of life?" );
keyboard.next();
}
}
Picture of the output