本课要点:
1、条件判断:三元运算符、if else 、if elseif else、switch case default的用法 switch等效于elseif,switch 用于有值判断,if建议无值判断
2、整数计数循环:while、do whilev、for for等效于while
3、跳出语句 continue 循环到此跳过 break循环到此结束,switch需要用到break
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!