Practice
Daily Temperature Aggregator
2023/Oct/Nov·Variant 3
MEDIUMAlgorithms
Read 3 temperature readings for a day. Find the maximum, the minimum, and calculate the average.
Input: 3 numbers. Output: Maximum, minimum, and average on separate lines.
Example:
Input: 12.0
15.0
9.0
Output: 15
9
12
Premium is coming soon. All grading features are currently unlocked.
Sample Test Cases
Test 1: Standard
Inputs: 12.0, 15.0, 9.0
Expected: 15
9
12
Test 2: All negative
Inputs: -5, -2, -8
Expected: -2
-8
-5
Ctrl+Enter
Press Ctrl+Enter to run your code
or Ctrl+Shift+Enter to grade