Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 coutStep 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