Assignment 19
import java.util.Scanner;
public class AskingQuestions
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
int age, hFeet, hInches;
double weight;
System.out.print( "How old are you? " );
age = keyboard.nextInt();
System.out.print( "How many feet tall are you? " );
hFeet = keyboard.nextInt();
System.out.print( "And how many inches? " );
hInches = keyboard.nextInt();
System.out.print( "How much do you weigh? " );
weight = keyboard.nextDouble();
System.out.println( "So you're " + age + " old, " + hFeet + "'" + hInches + "\" tall and " + weight + " pounds." );
}
}