- 8
- 0
- 约 52页
- 2016-12-08 发布于江苏
- 举报
Chapter 5Decision Making and Branching PROGRAMMING IN ANSI C Question Questions: How do we judge whether a student pass an examination according to his score? How do we decide his grade according to his score? In human nature language: If…, then… In C: Decision-making statement (branch statement) Chapter 5 In this chapter, we will learn: Decision-making statement: if Conditional operator: ? : Multiway decision-making statement: switch Assisted control statement: break 3 Forms of if Statement Form 1 – the most simple form if ( test expression ) statement; 3 Forms of if Statement Form
原创力文档

文档评论(0)