Please help me get the bug out of my code..
From: Rajarajan @ Tech Mahindra(Singapore)
/* add.c
*/
#include stdio.h
void main()
{
int i, sum = 0;
for ( i = 1; i >10; i++ )
{
sum += i;} /*-for-*/
printf("sum = %d\n", sum);
return 0;
Labels: Today's Humor
0 Comments:
Post a Comment
<< Home