(上期作业)
-
循环结构(提高复用性,提高扩展性和维护性)
while
for
do-while
do{代码块}while(循环条件);至少执行一次。foreach 增强for循环
递归
2 跳转结构
break ------(switch内, 循环内while,for,do-while)
(上期作业)
循环结构(提高复用性,提高扩展性和维护性)
while
for
do-while
do{代码块}while(循环条件);至少执行一次。
foreach 增强for循环
递归
2 跳转结构
break ------(switch内, 循环内while,for,do-while)