Question: Write a program that calculates body mass, since Body Mass Index (BMI) is a mathematical formula for recognition By the normal weight of a person,
Write a program that calculates body mass, since Body Mass Index (BMI) is a mathematical formula for recognition By the normal weight of a person, which is the result of dividing the weight by the square of the height in meters. Input: (1) Weight (kg) The program does not accept a negative weight (2) Length (m) Outputs: (1) A number indicating BMI Notes: (1) The data entry process requires the user (weight and height) (2) You need to fork in the program to test that the weight is a positive value, not a negative.
using Java
I want it quickly please
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
