Assignemnt #19 and AskingQuestions

Code

  /// name: Leila Ordukhani
  /// period: 6
  /// program name: Sixteenth Program
  /// file name: AskingQuestions.java
  /// date finished: 9/28/15

import java.util.Scanner;

public class AskingQuestions
{
	public static void main( String[] args )
	{
		Scanner keyboard = new Scanner(System.in);

		int age;
        int tall;
		int height;
		double weight;
        
        
		System.out.print( "How old are you? "  );
		age = keyboard.nextInt();

		System.out.print( "How tall are you? " );
		tall = keyboard.nextInt();
        
       
		System.out.print( "How much do you weigh? " );
		weight = keyboard.nextDouble();

		System.out.println( "So you're " + age + " old, " + tall + " tall and " + weight + " pounds." );
	}
}
 

Picture of the output

Assignment 19