Question: g . Write a code which receives input from the user for gender as either male ( m / M ) or female ( f
g Write a code which receives input from the user for gender as either male mM or female fF Make sure that your code recognizes both the small and capital letter, and also receives their age in years, weight in pounds, and height in inches. Write a piece of code which calculates BMR based on the following formulas:
Imperial formula for men
BMR times weight in pounds times height in inches times age in years
Imperial formula for women
BMR times weight in pounds times height in inches times age in years
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
