Difference between r1.3 and the current
@@ -3,16 +3,25 @@
* 반복문
* while
{{{
statement;
}}}
* do-while
{{{
do {
statement;
* for
* 배열
* while
{{{
while ( EXPRESSION ) {
while ( COND_EXPRESSION ) {
STATEMENT(S);
}}}}
* do-while
{{{
do {
} while ( EXPRESSION )
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
- 배열
실습 ¶
- 별찍기
- 구구단