predict the output:
#includestdio.h
int main()
{
int i,n,sum=0;
printf("enter the number:");
scanf("%d",&n);
for(i=0;i=n;i++)
{
sum+=1;
printf("%d\n",sum );
}
return 0;
}

Posted on by