Develop a C++ program that assists users in analyzing their weekly gym workout sessions. The program will prompt users to input the duration of their workout for each day of the week and calculate the average workout duration. It will then provide feedback on their workout consistency and intensity. Follow these specific program details: Begin the program by prompting the user to input the duration of their gym workout for each day of the week (assume a 7-day week). Calculate the average workout duration. Display the average workout duration to the user. Provide descriptive information about their workout consistency and intensity based on the following criteria: Average duration below 20 minutes: Low intensity, consider increasing workout duration. Average duration 20 to 40 minutes: Moderate intensity, keep it up! Average duration above 40 minutes: High intensity, excellent commitment! Ensure that your code is readable and self-documented: Include multiple-line comments to identify the owners, explain the purpose, and specify the input and output of the code. Use single-line comments to explain complicated or confusing statements and justify your reasoning (at least 3). Format your code with proper indentation and white spaces for better readability. Use self-documenting variable names. Evaluate your program: Test your program with the sample data below and provide screenshots of the output. Take screenshots of 2 other sample runs that provide different outputs every time. Sample Run: /* Owners: [Your Name] Purpose: This program analyzes the weekly gym workout sessions and provides feedback on consistency and intensity. Input: Workout duration for each day of the week. Output: Average workout duration, workout consistency, and intensity feedback. */ #include int main() { // Your implementation here return 0;

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
Develop a C++ program that assists users in analyzing their weekly gym workout
sessions. The program will prompt users to input the duration of their workout for
each day of the week and calculate the average workout duration. It will then provide
feedback on their workout consistency and intensity. Follow these specific program
details:
Begin the program by prompting the user to input the duration of their gym workout
for each day of the week (assume a 7-day week).
Calculate the average workout duration.
Display the average workout duration to the user.
Provide descriptive information about their workout consistency and intensity based
on the following criteria:
Average duration below 20 minutes: Low intensity, consider increasing workout
duration.
Average duration 20 to 40 minutes: Moderate intensity, keep it up!
Average duration above 40 minutes: High intensity, excellent commitment!
Ensure that your code is readable and self-documented:
Include multiple-line comments to identify the owners, explain the purpose, and
specify the input and output of the code.
Use single-line comments to explain complicated or confusing statements and justify
your reasoning (at least 3).
Format your code with proper indentation and white spaces for better readability.
Use self-documenting variable names.
Evaluate your program:
Test your program with the sample data below and provide screenshots of the output.
Take screenshots of 2 other sample runs that provide different outputs every time.
Sample Run:
/*
Owners: [Your Name]
Purpose: This program analyzes the weekly gym workout sessions and provides
feedback on consistency and intensity.
Input: Workout duration for each day of the week.
Output: Average workout duration, workout consistency, and intensity feedback.
*/
#include <iostream>
int main() {
// Your implementation here
return 0;
Transcribed Image Text:Develop a C++ program that assists users in analyzing their weekly gym workout sessions. The program will prompt users to input the duration of their workout for each day of the week and calculate the average workout duration. It will then provide feedback on their workout consistency and intensity. Follow these specific program details: Begin the program by prompting the user to input the duration of their gym workout for each day of the week (assume a 7-day week). Calculate the average workout duration. Display the average workout duration to the user. Provide descriptive information about their workout consistency and intensity based on the following criteria: Average duration below 20 minutes: Low intensity, consider increasing workout duration. Average duration 20 to 40 minutes: Moderate intensity, keep it up! Average duration above 40 minutes: High intensity, excellent commitment! Ensure that your code is readable and self-documented: Include multiple-line comments to identify the owners, explain the purpose, and specify the input and output of the code. Use single-line comments to explain complicated or confusing statements and justify your reasoning (at least 3). Format your code with proper indentation and white spaces for better readability. Use self-documenting variable names. Evaluate your program: Test your program with the sample data below and provide screenshots of the output. Take screenshots of 2 other sample runs that provide different outputs every time. Sample Run: /* Owners: [Your Name] Purpose: This program analyzes the weekly gym workout sessions and provides feedback on consistency and intensity. Input: Workout duration for each day of the week. Output: Average workout duration, workout consistency, and intensity feedback. */ #include <iostream> int main() { // Your implementation here return 0;
Expert Solution
steps

Step by step

Solved in 4 steps with 3 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY