Question: Take a screenshot as java file this is the question the first page is down and the second one is the one on top Method

Take a screenshot as java file this is the question the first page is down and the second one is the one on top

 Take a screenshot as java file this is the question thefirst page is down and the second one is the one on

Method Assignment - Body Fat Percentage (BFP) Calculator Application Develop a Java application to computer BFP of a person using the Body Mass Index (BMI) method. Implement method(s) to compute and return the BFP value according to the following formulas: . Adult Male's Body fat percentage (BFP) formula: BFP = (1.20 x BMI) + (0.23 x Age) - 16.2 . Adult Female's Body fat percentage (BFP) formula: BFP = (1.20 x BMI) + (0.23 x Age) - 5.4 Boy's Body fat percentage (BFP) formula: BFP = (1.51 x BMI) - (0.70 x Age) - 2.2 Girl's Body fat percentage (BFP) formula: BFP = (1.51 x BMI) - (0.70 x Age) - 1.4 To compute a BMI of a person, the formula used in this application is "Imperial English BMI Formula" provided below: BMI = weight (lbs) / height (inch2) x 703 (1 foot = 12 inches) Write a program that allows the user to input their weight in, height in feet, age in years, and gender (Adult Male, Adult Female, Boy, or Girl). The program should then output the BFP Value of the person. Sample Runs Male: > run Application Enter Weight in Pounds (1bs) : 140 Enter Height in Feet: 5.8 Enter Age: 35 Enter Gender (M for Male : F for Fenale : B for Boy : G for Girl) : M Your BFP is: 16.2Female: > run Application Enter Height. in Pounds (lbs): 140 Enter Height in Feet: '58 Enter Age: '35 Enter. Gender (11 for Male : F for Fenale : B for Boy : G tor Girl) : IF Your BF? is: 27.0 Boy: > run Application Enter 'Feight in Pounds (lbs): 495 Enter Height in Feet: '3'9 Enter Age: '7 Enter Gender (H for Hale : E for Fen-ale : 'B for Boy : G for Gitli : '3 Your BFP is: 25.? Girl: > run Application Enter Height in Pounds (lbs): 495 Enter Height in Feet: '33 Enter Age: '7 Enter Gender (1! for Hale : F for Fennle : B for BUY : G for Girl) : '6 Your BF? is: 37.5

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 Programming Questions!