Assignemnt #19 Asking Questions

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: Asking Questions
    ///File Name: AskingQuestions.java
    
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.println ( " How old are you? " );
        age= keyboard.nextInt();
        
        System.out.println ( " How many feet tall are you? " );
        heightfeet= keyboard.next();
        
         System.out.println ( " How many inches tall are you? " );
        heightinches= keyboard.next();
        
        System.out.println ( " How much do you weigh? ");
        weight= keyboard.nextDouble();
        
        System.out.println (" So you're " + age + " old, " + heightfeet + " tall and " + weight + " pounds. " );
    }
}
    

Picture of Output

Assignment 19