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