#include <stdio.h>
#include <stdlib.h>
int main(void)
{
int i;
for(i=1; i<=10; i++){
printf("%d ",i);
}
//i=1(첫번째) i<=10(두번째) printf("%d ",i)(세번재) i++(네번째)
system("pause");
return 0;
}
2016.03.12 09:55
1부터 10까지 더하기
조회 수 1015 추천 수 0 댓글 0