Count of Odd and even,sum of odd and even,average array program in C++

Count of Odd and even,sum of odd and even,average array program in C++

/* Fill up an array,print the array,count number of values,count the number of odd,count the number of even,sum  of odd ,sum of even,average,find largest value,find smallest */ #include<iostream.h> int fill_up(int array[],int size); void main() {     int array[10],size;     cout<<“Enter the size of an array:”<<endl;     cin>>size;     fill_up(array,size); } int fill_up(int array[],int size) {     … Read more