Assignemnt #26 BMICalculator1

Code

    ///Name: Morgan Kaplan
    ///Period: 5
    ///Project Name: BMICalculator1
    ///File Name: BMICalculator1.java

import java.util.Scanner;

public class BMICalculator1
{
    public static void main( String[] args )
    {
        Scanner momo= new Scanner(System.in);
        
        double feet, inches, pounds;
            
            System.out.println ( " Your height in feet: " );
                feet=momo.nextDouble();
            System.out.println ( " Your height in inches: " );
                inches=momo.nextDouble();
            System.out.println( " Your weight in pounds: " );
                pounds=momo.nextDouble();
            System.out.println( " Your BMI is " + ((pounds*4.88)/((feet)*(feet))) + "" );
    }
}
    

Picture of Output

Assignment 26