is there anyone who can debug this code......
#include#define last 10int main(){int i,sum=0;for(i=1;i<=last;i++){sum+=i;printf("sum=%d",sum);return 0;}
naval you removed the bug the bug after the 5th linegreat work buddy......
is there anyone who can debug this code......
ReplyDelete#include
ReplyDelete#define last 10
int main()
{
int i,sum=0;
for(i=1;i<=last;i++)
{
sum+=i;
printf("sum=%d",sum);
return 0;
}
naval you removed the bug
ReplyDeletethe bug after the 5th line
great work buddy......