Answered step by step
Verified Expert Solution
Question
1 Approved Answer
c++ Important Coding Guidelines: - Use comments, and whitespaces around operators and assignments. - Useline breaks and indent your code. - Use naming conventions for
c++
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
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