Assignemnt #17 Even "Moar" Questions
Code
///Name: JJ Deng
///Period: 6
///Program Name: Even Moar Questions
///File Name: EvenMoarQuestions.java
///Date Finished: 9/30/15
import java.util.Scanner;
public class EvenMoarQuestions
{
public static void main( String[] args )
{
String name;
int age;
double weight, income;
Scanner Questions = new Scanner(System.in);
System.out.print( "Hello. What's your weird ass name? " );
name = Questions.next();
System.out.print( "Hi, " + name + " ! How old are you? " );
age = Questions.nextInt();
System.out.println( "So you're " + age + ", eh...little brat!");
System.out.print( "How much do you weigh, " + name + "? " );
weight = Questions.nextDouble();
System.out.print( weight + "! Ha, better keep that quiet. Alright kid, what's your income, " + name + "? " );
income = Questions.nextDouble();
System.out.println( "Ok, " + income + " isn't much at all, do you live under a bridge?" );
Questions.next();
System.out.print( "Ay, take it easy man, I was just kidding, thanks for answering though, it was nice meeting you " + name + ", see your around! ");
}
}
Picture of the output