while 기본원리 와 의미
while (반복조건)
반복내용
"반복의 조건" 이 만족되는 동안
"반복 내용"을 반복 실행하라.
while ( repeated condition)
{
repeated content
}
while( i <>
{
printf("Hello World!\n");
i++;
}
"i<10>
"printf()와 i++" 을 반복 실행하라
while( i < 10 )
{
printf("Hello World!\n");
i++;
}
No comments:
Post a Comment