Weekly Exercise Summary

E · easyP · Verified PYQmath

Design a weekly exercise summary. Take number of minutes of daily exercise for 7 consecutive days as input. Calculate: 1. Total exercise duration for the week 2. Average daily workout duration (round to nearest integer)

Input
45
15
30
15
5
10
20
Output
Exercise summary
Total exercise duration : 140 (minutes)
Average daily exercise duration: 20 minutes
Sum all 7 values. Average = total // 7 (integer division for rounding). Print formatted output.
← Two-Wheeler and Four-Wheeler Production (Scenario-Based)XOR Coin Denomination (Story-Based) →
Report an issue with this question