Assignemnt #26 and BMI Calculator

Code

    ///Name: Joshua Bautista
    ///Period: 6
    ///Project Name: BMI Calculator
    ///File Name: BMICalculator.java
    ///Date: 10/19/2015
    
    import java.util.Scanner;

public class BMICalculator
{
    public static void main( String[] args)
    {
        Scanner keyboard = new Scanner(System.in);
        double pounds, inches, bmi, kilograms = 0.452592, meters = 0.0254, fiKilograms, fiMeters;
        
        System.out.print( "Your height in inches: ");
        inches = keyboard.nextDouble();
        System.out.print( "Your weight in pounds: ");
        pounds = keyboard.nextDouble(); 
        
        fiKilograms = kilograms * pounds;
        fiMeters = meters * inches;
        bmi = fiKilograms / (fiMeters*fiMeters);
        
        System.out.println("Your height in inches:" + inches);
        System.out.println("Your weight in pounds:" + pounds);
        System.out.println("Your BMI is" + bmi);
    }
}
    
    

Picture of the output

Assignment 1