Uploaded by iamrizwi

How to add numbers from one to ten

advertisement
How to add numbers from one to ten
#include<stdio.h>
#include<conio.h>
Void main( )
{
int i,sum=0;
for(i=1;i<10;i++)
sum=sum+I;
printf(“The sum of series is = %d”,sum);
getch();
}
Download