Description: Write a program to calculate your BMI and give weight status. Body Mass Index (BMI) is an
internationally used measurement to check if you have a healthy weight for your height. The metric BMI
formula accepts weight in kilograms and height in metres, as follows:
BMI = weight(kg)/height2(m2)
Use the command line arguments to give weight in kilograms and height in centimetres. For example:
java BMICalculator 80 175
should output:
Your weight: 80 kg
Your height: 1.75 m
Your BMI: 26.12
You are in the Overweight range.
To Search:
File list (Check if you may need any files):
BMICalculator.class
BMICalculator.java