Question: Java CODE swing GUI using mysql JAVAcode that asks the user to first input if they are male or female then ask for two different
Java CODE swing GUI using mysql
JAVAcode that asks the user to first input if they are male or female
then ask for two different body fat percentage measurments
then takes the average of the two body fat percentages
Finally the algorithm outputs a phrase based on the individual's gender and average body fat percentage based on the ranges below
Men - "Dangerously Low" if body fat <4%
"Acceptable" if body fat between 5-25%
"Dangerously High" if body fat is >26%
Women - "Dangerously Low" if body fat <12%
"Acceptable" If body fat between 13-31%
"Dangerously High" if body fat is >32%
CODE REQUIREMENTS
1. Use a graphical user interface java swing
2. Controls to ensure correct user input
3. Read a database for data
4. Multiple classes
5. Multiple methods
6. Java code properly and completely documented
7. Extra credit - update and add records on the database
PLZ PROVIDE UML
SAMPLE OUTPUT- GENDER- MALE
FIRST BODY FAT % - 8
SECOND BODY FAT % - 10
AVERAGE BODY FAT % - 9
RESULTS - ACCEPTABLE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
