Assignemnt #21 EvenMoarQuestions

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: EvenMoarQuestions
    ///File Name: EvenMoarQuestions.java
    
import java.util.Scanner;

public class EvenMoarQuestions
{
    public static void main( String[] args )
    {
        String name;
        int age;
        double weight, income;
        
        Scanner momo= new Scanner(System.in);
        
        System.out.print( "Hello. What is your name?" );
        name= momo.next();
        
        System.out.print( "Hi, " +name + "! How old are you? ");
        age= momo.nextInt();
        
        System.out.println( "So you're " + age + ", eh?  Thats not old at all." );
        System.out.println( "How much do you weigh, " + name + "?" );
        weight= momo.nextDouble();
                         
        System.out.println( weight + "! Better keep that quiet.  Finally, what's your income,         " + name + "?" );
        income= momo.nextDouble();
        
        System.out.println( "Hopefully that is " + income + " per hour and not per year!" );
        System.out.println( "Well, thanks for answering my rude questions, " + name + "." );
     }
 }
    

Picture of Output

Assignment 21