리버싱/C언어 300제

리버싱 - c언어(006-010)

야생타조 2018. 12. 24. 14:40

006.



#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 );
}