Question: Question 1 The BMI (Body Mass Index) is defined as the body mass divided by the square of the body height and is universally expressed

Question 1 The BMI (Body Mass Index) is defined as the body mass divided by the square of the body height and is universally expressed in units of kg/m2, resulting from mass in kilograms and height in meters. (a) Write a BMI class to contain main() method and other two methods, namely bmi_cal() and bmi_class(). (4 marks) (6) Write a bmi_cal() method to calculate the BMI value using the following equation: BMI = Weight(kg)/Height(m)2
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
