北京大学计算概论课件第八讲 选择结构.pptVIP

  • 15
  • 0
  • 约7.16千字
  • 约 44页
  • 2019-05-06 发布于广东
  • 举报

北京大学计算概论课件第八讲 选择结构.ppt

Lesson 8 Flow of control Selection 2007/10/17 Objectives Relational Expressions Logic operation The if and if-else Statements The switch Statement Indentation and programming style Case Study: Data Validation Flow of control refers to the order in which a program’s statements are executed four kind of control structures: sequential Selection Repetition Invocation Selection selection is a single-entry/single-exit structure: execute only when condition is satisfied. Relational Expressions Relational Expressions (cont.) Can only accept data which can be arranged in ordering sequen

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档