Assignemnt #48 and BMICalculator Code /// Name: Yordan Rashkov /// Period: 7 /// Program Name: BMICalculator /// File Name: BMICalculator.java /// Date Finished: 11/18/2015 import java.util.Scanner; public class BMICalculator { public static void main( String[] args ) { Scanner keyboard = new Scanner(System.in); double m, kg, bmi; System.out.print( "Your height in m: " ); m = keyboard.nextDouble(); System.out.print( "Your weight in kg: " ); kg = keyboard.nextDouble(); bmi = kg / (m*m); System.out.println( "Your BMI is " + bmi ); if ( bmi <= 18.5 ) { System.out.println( " BMI Category: UNDERWEIGHT " ); } else if ( bmi >= 18.5 && bmi < 24.9 ) { System.out.println( " BMI Category: NORMAL WEIGHT " ); } else if ( bmi >= 25.0 && bmi < 29.9 ) { System.out.println( " BMI Category: OVERWEIGHT " ); } else if ( bmi >= 30.0 ) { System.out.println( " BMI Category: OBESE " ); } } }