c program to find sum of first 100 integers
Answers
Answered by
9
Explanation:
#include<stdio.h>
main()
{
int i,sum=0;
for(i=1;i<=100;i++)
{
sum=sum+i;
}
printf(“Sum of nos 1 to 100 =%d”,sum);
}
if this helps you
mark as brainlest answer
Similar questions