U E D R , A S I H C RSS

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

Difference between r1.6 and the current

@@ -3,7 +3,7 @@
* 반복문
* while
{{{
while ( EXPRESSION ) {
while ( COND_EXPRESSION ) {
STATEMENT(S);
}
}}}
@@ -11,11 +11,11 @@
{{{
do {
STATEMENT(S);
} while ( EXPRESSION )
} while ( COND_EXPRESSION )
}}}
* for
{{{
for ( INITIALIZATION ; CONDITION(== EXPRESSION) ; INCREMENT ) {
for ( INITIALIZATION ; COND_EXPRESSION ; LOOP_EXPRESSION ) {
STATEMENT(S);
}
}}}


진행

  • 조건문 복습
  • 반복문
    • 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.0138 sec