Question: c++ Important Coding Guidelines: - Use comments, and whitespaces around operators and assignments. - Useline breaks and indent your code. - Use naming conventions for

c++
c++ Important Coding Guidelines: - Use comments, and whitespaces around operators and

Important Coding Guidelines: - Use comments, and whitespaces around operators and assignments. - Useline breaks and indent your code. - Use naming conventions for variables, functions, methods, and more. This makes it easier to understand the code. - Write simple code and do not over complicate the logic. Code exhibits simplicity when it's well organized, logically minimal, and easilly readable The following equations estimate the calories burned when exercising (sourca): Women: Calories =(( Age 0.074)( Weight 0.05741)+( Heart Rate 0.4472)20.4022) lime /4.184 Men Calories =(( Age 0.2017)+( Weight 0.09036)+( Heart Rate 0.6309)55.0969) Time /4.184 Write a program with inputs age (years), weight (pounds), heart rate (beats per minute), and time (minutes), respectively, Output calories burned for women and men Output each floating point value with two digits after the decimal point, which can be achicved by executing cout ce fixed \& setprecision (2); once before all other cout statements Ex. If the input is: 4915514860 the output is Women: 580.94 calorles Men: 091.47 calories \begin{tabular}{|l|l} Lan \\ Aerviry & 1.151:AB Expression for calories burned during workout \end{tabular} main.cpp Lood default template:- 1 Finclude (iostrean? 2 sinclude (ionanips

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!