Question: Using the java switch case and J ava JOptionPane , write a java program that is used to calculate the Body Mass Index (BMI) of
Using the java switch case and Java JOptionPane, write a java program that is used to calculate the Body Mass Index (BMI) of individuals and tells users name and the BMI category based on the category table provided below.
| BMI Category | BMI range - kg/m2 |
| Severe Thinness | < 16 |
| Moderate Thinness | 16 - 17 |
| Mild Thinness | 17 - 18.5 |
| Normal | 18.5 - 25 |
| Overweight | 25 - 30 |
| Obese Class I | 30 - 35 |
| Obese Class II | 35 - 40 |
| Obese Class III | > 40 |
EXPLAIN the execution of the program on the code line by line.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
