Question: Help with C++ assignment 15.28 LAB: Expression for calories burned during workout. I was able to get most of the output correctly but I need
Help with C++ assignment 15.28 LAB: Expression for calories burned during workout. I was able to get most of the output correctly but I need the output value to have two digits after the decimal point and some of my answer is coming out with three digits which you can see circled in red. Please help
15.28 LAB: Expression for calories burned during workout The following equations estimate the calories burned when exercising (source): Worrien: Calorics - Age x 0.074) - (Weight 0.05741) + (Heart Rate x 0.4172) 20.4022 ) x Time: 1.184 Mert Calcrics - Age x 0.2017) - (Weight x 0.09086) + (Heart Rate x 0.6809) 55.0969 ) x Time / 1.181 Wri.c a program with inpuis age cars), wcight (pounds), heart ralcibeals per minute), and time (min.cs), respectively. Oulbul calorics burned for women and men. Output each floating-point value with two digits after the decimal point, which can be achieved by executing cout
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
