/* Average - Calculate sum and average of a list of elements. Also count how many elements in the list are less than average and more than average */ #include #include void main() { int i, n, less=0, more=0 ; float x[50], sum=0, avg ; clrscr() ; printf("Enter the number of elements: ") ; scanf("%d", &n) ; printf("Enter the elements: \n") ; for(i=0 ; iavg) more++; if(x[i]