面向对象程序设计Chapter 05.pptVIP

  • 2
  • 0
  • 约8.41千字
  • 约 47页
  • 2018-04-18 发布于河南
  • 举报
面向对象程序设计Chapter 05

Chapter 5 Topics Data Type bool Relational and Logical Operators, and Logical Expressions If-Then-Else Statements If-Then Statements Nested If Statements for Multi-way Branching 5.1 Flow of Control(控制流程) there are 2 general types of control structures: Selection (also called branching) Repetition (also called looping) 5.2.1 bool Data Type (Boolean) type bool is a built-in type consisting of just 2 values, the constants true and false we can declare variables of type bool 5.2.2 Logical Expressions A Boolean variable or constant A relational expression A logical expression

文档评论(0)

1亿VIP精品文档

相关文档