Question: Create a program consisting of 2 classes, a human class and a BMI class. A human has a BMI (in addition to height ,weight ,name
Create a program consisting of 2 classes, a human class and a BMI class. A human has a BMI (in addition to height ,weight ,name and age) when the constructor method for BMI is called you take in the height and weight of a student and create their (approximated )BMI. Algorithm to approximate BMI (weight in kilograms) (height in meters ) Note: BMI approximations are not very good for health but are good as progamming example problem "in JAVA".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
