Arrayavg
Submit solution
C
Points:
10 (partial)
Time limit:
8.0s
Memory limit:
64M
Author:
Problem type
Allowed languages
Problem Statement
C programming to find out the average of 4 integers. Print the avg of elements if the array has 4 elements. any other number of elements print -1
Sample input
10 10 20 40
Sample output
20
Comments