โ Back to Arrays
Question 82
Average of Array
Average of Array
An array nums has been created with the values {10, 20, 30, 40, 50}. Compute the integer average (sum divided by count) and print it in this exact format:
Average: 30Expected Output:
Average: 30
Topics:
Arrays
Code Editor
1
Tab to indent ยท Ctrl+Enter to run ยท Ctrl+Space to expand shortcuts (p, fori)
Your Output
Run your code to see the output here...
Test Cases
Run your code to see test case results.