Assignemnt #19 and Questions.java

Code

    /// Name: Boris Kazantsev
    /// Period: 6
    /// Program Name: Questions
    /// File Name: Questions.java
    /// Date Finished: 9/20/2015
    
    import java.util.Scanner;
    
    public class Questions{
        public static void main(String[] args){
            Scanner keyboard = new Scanner(System.in);
            
            int age;
            String height;
            double weight;
            
            System.out.print("How old are you?");
            age = keyboard.nextInt();
            
            System.out.print("How tall are you?");
            height = keyboard.next();
            
            System.out.print("How much do you weigh?");
            weight = keyboard.nextDouble();
            
            System.out.println("So you are " + age + " old, " + height + " tall, and " + weight + "pounds.");
        }
    }

    

Picture of the output

Assignment 19