Find Average

Easy

📝 Description

Calculate average of numbers in an array

Input Format

Array of integers

Output Format

Average (rounded to 2 decimal places)

Constraints

1 ≤ array length ≤ 1000

🔍 Sample Input

10 20 30 40
            

✅ Sample Output

25.00
            

Code Editor

Please login to run and submit code.

Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run