Weekly Exercise Summary
E · easyP · Verified PYQmath
Problem
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)
Example
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.