Dsa
Math
Warm-up
Average of List
Calculate the average of a list of non-negative integers. The average should be rounded to two decimal places.
Input format:
- A single line containing space-separated non-negative integers.
Output format:
- A single floating-point number rounded to two decimal places.
Example:
Input:
10 20 30
Output:
20.00
Key concepts
matharraysaverage
Practise this out loud — free
Start a mock interview on THIS exact question — a voice AI interviewer opens with it, pushes back like a real onsite, then hands you an instant scorecard.
🎙 Practise this question now