Master Computers and Technology with Fun Quizzes & Brain Teasers!
(2) 10') Write a program to calculate the average of all elements in array a. array a should be defined as: int a[10]={21,13,4,35,16,17,8,19,20,7}; ( 2 ) 10 ' ) Write a program to calculate the average of all elements in array a . array a should be defined as : int a [ 10 ] = { 21,13,4,35,16,17,8,19,20,7 } ;