Aug 14, 2008

Can anyone remove the bug..Challenge for Developers..


For all the Software Professionals out there..



#include <>
#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;

}





No comments:

 
Custom Search