Question
***IN SWIIFT*** Write a YMCA body fat calculator for iPhone 11. The application should provide an interface (as in Figure 1) to allow the user
***IN SWIIFT***
Write a YMCA body fat calculator for iPhone 11.
The application should provide an interface (as in Figure 1) to allow the user to o Enter the name, the first letters of which should be automatically capitalized o Specify the gender and units of measurement o Enter the weight and waist, using the Number Pad as the keyboard type.
According the users input, when clicking the button Get Report, the application should generate a report for the user, as shown in Figure 2.
The YMCA formulas for calculating body fat are as follows: Men's %Fat = (-98.42 + 4.15*waist - 0.082 * weight) / weight Women's %Fat = (-76.76 + 4.15 * waist - 0.082 * weight) / weight
Carrier 2:37 PM Carrier 2:49 PM Name: Enter your name here Name: Bob Tyler Gender: Male Female Gender: Male Female Units of Measurement: Units of Measurement: Pounds Kilograms Inches Centimeters Pounds Kilograms Inches Centimeters Weight: Waist: Weight: Waist: 170 80 Get Report Get Report Hi, Bob Tyler, thank you for using this body fat calculator. Your body fat percentage is estimated to be 10.85%, according to the YMCA method. Carrier 2:37 PM Carrier 2:49 PM Name: Enter your name here Name: Bob Tyler Gender: Male Female Gender: Male Female Units of Measurement: Units of Measurement: Pounds Kilograms Inches Centimeters Pounds Kilograms Inches Centimeters Weight: Waist: Weight: Waist: 170 80 Get Report Get Report Hi, Bob Tyler, thank you for using this body fat calculator. Your body fat percentage is estimated to be 10.85%, according to the YMCA methodStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started