Code
/// Name: Afaf Nabeeha
/// Period: 7
/// Program Name: Your Questions
/// File Name: Questions.java
/// Date Finished: 9/28/2015 public class Questions
import java.util.Scanner;
public class Questions
{
public static void main( String[] args )
{
Scanner keyboard = new Scanner(System.in);
int age;
String height, heightIn;
double weight;
System.out.print( "How old are you? " );
age = keyboard.nextInt();
System.out.print( "How many feet tall are you? " );
height = keyboard.next();
System.out.print( "And how many inches? " );
heightIn = keyboard.next();
System.out.print( "How much do you weigh? " );
weight = keyboard.nextDouble();
System.out.println( "So you're " + age + " old, " + height + " foot " + heightIn + " inches, and " + weight + " pounds." );
}
}
Picture of the output