Answer to Question #38335 in C++ for khulud ahmed
BMR = 66 + ( 13.7 * weight) + ( 5 * height ) – ( 6.8 * age )
And for Women:
BMR = 655 + ( 9.6 * weight ) + ( 1.8 * height ) – ( 4.7 * age )
Where weight is measured in Kilograms, height in Centimeters and age in years
A typical chocolate bar contains 230 calories.
Write a C++ program that allows the user to input his/her weight in kilograms, height in centimeters, age in years, and the character M for male and F for female. Your program should then calculate the number of chocolate bars that should be consumed to maintain the weight for the user of a specified weight, height and age. The program output should report and the number of chocolate bars that need to consume .Finally, your program should ask if they would like to run program again
Need a fast expert's response?Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!