int inarr[ ]sum = float mean clrscr()printf("\ enter the number of elements in the array ")scanf("% "& )for( = ; < ; ++printf("\ arr[% " )scanf("% ",&arr[ ])for( = ; < ; ++sum +arr[ ]mean (float)sum/nprintf("\ the sum of the array elements % "sum)printf("\ the mean of the array elements "mean)return output enter the number of elements in the array arr[ arr[ arr[ arr[ arr[ the sum of the array elements the mean of the array elements write program to print the position of the smallest number of numbers using arrays #include #include int main(int inarr[ ]smallposclrscr()printf("\ enter the number of elements in the array ")scanf("% "& )printf("\ enter the elements ")for( = ; < ; ++scanf("% ",&arr[ ])small arr[ pos = for( = ; < ; ++if(arr[ ]<smallsmall arr[ ]pos iprintf("\ the smallest element is % "small)printf("\ the position of the smallest element in the array is % "pos)return output enter the number of elements in the array enter the elements