[hindi_jokes] Find the bug
Hi,
Help me if u don't have much work. Help me if u know C. Please help me to get the bug out of my code. Please find the code below¡¦ It is a very simple C program and bug is also so small¡¦ But, am not able to remove the bug from the code¡¦ /* add.c 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;
}
--
Regards,
Mathew Paret.
http://www.deproxys
Like having fun? Visit The Fun Archives at http://www.funarchi
http://groups.yahoo.com/group/selectedmails
TO GET FEW SELECTED PICTURES,MOVIES,JOKES ETC
(2-3 EMAILS PER DAY.)
THIS GROUP IS FOR THOSE WHO WANT FEW SELECTED
EMAILS INSTEAD OF READING TOO MANY MAILS.
GANESH KUMBLE
ganeshkumble11@gmail.com
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch format to Traditional
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe
__,_._,___
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home