Computer/초보자를 위한 C 언어 300제
010. 컴파일 개념 배우기
Theo Kim
2010. 11. 12. 01:26
#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);
}