2012-12-01から1日間の記事一覧
do-while文は、次のように書く。do { codeBlock} while (testExpression)while文との違いは、do-while文では必ず1回はcodeBlockが実行されることである。for文は、次のように書く。for (iterator initialization; testExpression; iterator update) { codeBl…
do-while文は、次のように書く。do { codeBlock} while (testExpression)while文との違いは、do-while文では必ず1回はcodeBlockが実行されることである。for文は、次のように書く。for (iterator initialization; testExpression; iterator update) { codeBl…