for (int i = 0; i < 10; i++) {
① ʻint i = 0; Initialization process Sentence (loop variable) executed only once at the beginning ② ʻi <10;
Repeat condition
Conditional expression to determine whether to continue the loop
③ ʻi ++` Repeated processing
Statement that is automatically executed immediately after reaching
if (height > 170) {
if (eyesight > 1.0) {
"Branch in branch" Multiple structures are called nested
or nested
Recommended Posts