Prog19: Asking Questions
///Name: Ilana Levy
///Period: 5
///Project Name: Asking Questions
///File Name: askingQuestions.java
///Date Finished: 9/7/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 are you? " );
heightFeet = keyboard.next();
System.out.print( "And how many inches? " );
heightInches = keyboard.next();
System.out.print( "How much do you weigh? " );
weight = keyboard.nextDouble();
System.out.println( "So you're " + age + "old, " + heightFeet + "'" + heightInches + "tall and " + weight + "pounds." );
}
}