Assignment #19 Asking Questions

Code

    /// Name: Koosha Kimelman
    /// Period: 7
    /// Program Name: Asking Questions
    /// File Name: AskingQuestions.java
    /// Date Completed: 9/17/15
    
    import java.util.Scanner;
    
    public class AskingQuestions {
    
    	public static void main( String[] args ) {
        
    		Scanner keyboard = new Scanner(System.in);
    
    		int age, feet, inches;
    		double weight;
    
    		System.out.print( "How old are you? " );
    		age = keyboard.nextInt();
    
    		System.out.print( "How many feet tall are you? " );
    		feet = keyboard.nextInt();
            
            System.out.print("And how many inches? ");
            inches = keyboard.nextInt();
    
    		System.out.print( "How much do you weigh? " );
    		weight = keyboard.nextDouble();
    
    		System.out.println( "So you're " + age + " years old, " + feet + "'" + inches + "\"" + " tall and " + weight + " pounds." );
    	}
    }
    

Picture of the output

Assignment 19