C Program to Find Sum of an Array [Negative Numbers,Even Numbers,Odd Numbers]
This C Program finds the sum of even numbers,odd numbers and negative numbers in an array #include main() { int a[100]; int i=0; int j=0; int evesum=0,oddsum=0,negsum=0; while() { scanf(“%d”,&a[i]); if(a[i]==0) { break; }...
Recent Comments