当前位置:网站首页>[day03] process control statement
[day03] process control statement
2022-07-28 04:03:00 【Yinma Hanhai】
01_ Process overview and sequence structure 


02_ Selection structure _ single if sentence ( With or without )


03_ Selection structure _ standard if-else sentence ( Choose one of the two )
In this format , It won't do both , Neither of them will be executed , You must choose one of the two situations to execute , Choose one of the two .

04_ Selection structure _ Expand if-else sentence (N Choose one )
If it doesn't fit ,else Do the finishing work

It must be when the previous condition is not satisfied , I will judge the next condition . Then it is no longer one of the two , It is n Choose one .
05_ practice _ use if Sentence to realize the division of examination scores 

06_ practice _ use if Statement replaces the ternary operator 
07_ Selection structure _ The standard switch sentence 


08_ Selection structure _ Penetrating switch sentence 
If default Move up , No, break, Penetration occurs
09_ Loop structure _ Cycle overview and basic components
Circulation is to let the computer do something repetitive 

10_ Loop structure _for loop 


11_ Loop structure _while loop



12_ Loop structure _do-while loop 
while There is a semicolon after the parentheses 
do-while sentence , The first execution is unconditional . No matter what your cycle conditions are , I execute at least once

13_ practice _ Use a loop to find 1-100 Between even numbers and 
14_ The difference between the three cycles 
15_ Cycle control _break sentence 
16_ Cycle control _continue sentence 
17_ Dead cycle
To forcibly stop the dead cycle , Click Ctrl+C

18_ A nested loop


边栏推荐
- Data mining-01
- 《剑指offer》| 刷题小记
- Servlet usage
- Simple and easy-to-use performance testing tools recommended
- [image classification] 2021 MLP mixer nips
- Skillfully use stack backtracking to help you quickly locate problems
- 金仓数据库KingbaseES安全指南--5.1. 数据库的传输安全
- test case management tool
- 一文读懂Plato Farm的ePLATO,以及其高溢价缘由
- Interview essential skills: SQL query special training!
猜你喜欢
随机推荐
Appnium -- app automated test tool
Un7.27: how to successfully build a ruoyi framework project in idea?
XML file usage and parsing
递归和非递归分别实现求第n个斐波那契数
程序人生 | 测试工程师还只会点点点?7个捷径教给你快速学习新技术...
Chinese Remainder Theorem of X problem
静态博客搭建工具汇总
Do you regret doing automated testing?
Leetcode 0141. circular linked list - three solutions
WordPress简约mkBlog博客主题模板v2.1
Dynamic programming - 474. One and zero
I did these three things before the interview, and the result was actually direct
测试用例管理工具
CH340 RTS DTR引脚编程驱动OLED
[image classification] 2021 MLP mixer nips
ServletContext、request、response
STC timer is abnormal (how to modify the initial value, the timing time is 100ms)
Selenium--WEB自动化测试工具
Move notice!
pip-script. py‘ is not present Verifying transaction: failed









![[untitled]](/img/c3/cf88f04d5aaba61d3a7464ff56ce15.png)