Question: Write a program in java that can calculate the average Body Mass Index of an unliminited people and save them in CSV File Program must

Write a program in java that can calculate the average Body Mass Index of an unliminited people and save them in CSV File

Program must contain the following:

(1) Use jtextarea to ask for the users Name, height, and weight.

(2) Calculate Average BMI--> BMI= (Someones weight in pounds) / [(height in inches)2x(703)]

(3) Apply the following BMI data for your program:

A BMI below 18.5 (shown in white color) is considered underweight.

A BMI of 18.5 to 24.9 (green) is considered healthy.

A BMI of 25 to 29.9 (yellow) is considered overweight.

A BMI of 30 or higher (red) is considered obese.

(4) Allow for multiple operations for new data appending

(5) Use only GUI style for all data I/P with error notification of bad data entered

(6) Display each BMI calculated with a message O/P in jOpitionPane such as, according to your BMI you are overweight as well an intro message welcomeing the user

and explaining what the program does when it opens.

Thank You

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!