Ma ajuta cineva cu bug-ul asta ?

#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;
}
Bookmark and Share:

Leave a Reply

Comments links could be nofollow free.

Security Code: