input integer in array and find total in C program
//input 10 integer and find total #include<stdio.h> #include<conio.h> main() { int num[10],i,total=0; for(i=0;i<10;i++) { printf(“input interger number:”); scanf(“%d”,&num[i]); } for(i=0;i<10;i++) { total=total+num[i]; } printf(“Total of 10 integer numbers=%d”,total); }
input integer in array and find total in C program Read More