Difference between r1.7 and the current
@@ -3,7 +3,7 @@
* 반복문
* while
{{{
}
}}}
* while
{{{
while ( EXPRESSION ) {
while ( COND_EXPRESSION ) {
STATEMENT(S);}
}}}
@@ -11,11 +11,11 @@
{{{
do {
STATEMENT(S);
* for
{{{
}
}}}
do {
STATEMENT(S);
} while ( EXPRESSION )
} while ( COND_EXPRESSION )
}}}* for
{{{
for ( INITIALIZATION ; CONDITION(== EXPRESSION) ; LOOP_EXPRESSION) {
for ( INITIALIZATION ; COND_EXPRESSION ; LOOP_EXPRESSION ) {
STATEMENT(S);}
}}}
진행 ¶
- 조건문 복습
- 반복문
- while
- while
while ( COND_EXPRESSION ) { STATEMENT(S); }
- do-while
do { STATEMENT(S); } while ( COND_EXPRESSION )
- for
for ( INITIALIZATION ; COND_EXPRESSION ; LOOP_EXPRESSION ) { STATEMENT(S); }
- continue & break
- 배열
실습 ¶
- 별찍기
- 구구단