010. 컴파일 개념 배우기010. 컴파일 개념 배우기

Posted at 2010. 11. 12. 01:26 | Posted in Computer/초보자를 위한 C 언어 300제
#include <stdio.h>

main()
{
	//int i;
	int hap = 0;

	for( i = 1; i <= 10; i = i + 1 )
	{
		hap = hap + i;
	}

	printf("1부터 10까지의 합 : %d", hap);
}
//