Can u remove this bug from this code?? its urgent...

0 views
Skip to first unread message

sathy nithi

unread,
Jul 22, 2011, 10:30:32 AM7/22/11
to sns_cse-hostel_angels, snsctcse06, usharani...@infosys.com, Manicka Vasakam, inian.yazh, saran...@gmail.com, sAnThosh kUMAR, thiripurasundari palanikannan, praveen shenoy, Maraimalai, muthu priya, sindhiya....@wipro.com



:
Can u remove this bug from this code?? its urgent...

 
/* a simple C program */

#include stdio.h;
#define LAST 10

int main()
{
int i, sum = 0;


for ( i = 1; i < = LAST; i++ )
{
   sum += i;
}

/*-for-*/
printf("sum = %d\n", sum);
return 0;
}  




--





--
with regards,
sathyaa karunanithi
-FINAL YEAR ME[CSE]
SSN COLLEGE OF ENGINEERING
KALAVAKKAM
[follow yr dreams]

ATT1455110.gif
Reply all
Reply to author
Forward
0 new messages