Assignemnt #19 and Asking Questions

Code

    /// Name: Kyle Ivy
    /// Period: 5
    /// Program Name: AskingQuestions
    /// File Name: Asking Questions.java
    /// Date Finished: 9/24/2015
    
    import java.util.Scanner;
    
        public class AskingQuestions {
        
            public static void main( String[] args ) {
            
                Scanner keyboard = new Scanner(System.in);
                
                int age;
                String heightFeet , heightInches;
                double weight;
                
                System.out.print( "How old are you? " );
                age = keyboard.nextInt();
                
                System.out.print( "How many feet tall are you? " );
                heightFeet = keyboard.next();
                
                System.out.print( "How many inches? " );
                heightInches = keyboard.next();
                
                
                System.out.print( "How much do you weigh? " );
                weight = keyboard.nextDouble();
                
                System.out.println( "So you're " + age + " years old, " + heightFeet + " feet, " + heightInches + " inches tall, and " + weight + " pounds. " );
                
            }
        }
    

prog19.PNG

Assignment 1