U E D R , A S I H C RSS

새싹교실/2014/손오반/2014-04-07

Difference between r1.3 and the current

@@ -3,16 +3,25 @@
* 반복문
* while
{{{
while ( EXPRESSION ) {
statement;
while ( COND_EXPRESSION ) {
STATEMENT(S);
}
}}}
* do-while
{{{
do {
statement;
} while ( EXPRESSION )
STATEMENT(S);
} while ( COND_EXPRESSION )
}}}
* for
{{{
for ( INITIALIZATION ; COND_EXPRESSION ; LOOP_EXPRESSION ) {
STATEMENT(S);
}
}}}
* continue & break
* 배열
 
== 실습 ==
* 별찍기
* 구구단



진행

  • 조건문 복습
  • 반복문
    • 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
  • 배열

실습

  • 별찍기
  • 구구단
Valid XHTML 1.0! Valid CSS! powered by MoniWiki
last modified 2021-02-07 05:29:53
Processing time 0.0188 sec