71

第2章 循环流程控制语句-我是小谷粒的博客

 6 years ago
source link: http://blog.51cto.com/13517854/2083381
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
1.1for循环的格式及基本使用1.1.1for循环语句格式:for(初始化语句;判断条件语句;控制条件语句){循环体语句;//让循环体代码执行多次;}1.1.2执行流程A:执行初始化语句B:执行判断条件语句,看其结果是true还是false如果是false,循环结束。如果是true,继续执行。C:执行循环体语句D:执行控制条件语句E:回到B继续1.1.3for循环的执行流程图1.1.4代码案例八

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK