035. 조건 순환문 이해하기 1(while~continue~break)035. 조건 순환문 이해하기 1(while~continue~break)

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

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

	while( i <= 10 )
	{
		hap = hap + i;
		i++;
	}

	printf( "hap = %d",hap );
}
//