chaper5--C程序设计(英文课件).pptVIP

  • 2
  • 0
  • 约7.1千字
  • 约 36页
  • 2017-11-17 发布于河南
  • 举报
chaper5--C程序设计(英文课件)

Chapter 5 branch-structure By: wangxia E-mail: wangxia1026@163.com contents 5.0 review 5.1 relational operators and expressions 5.2 logical operators and expressions 5.3 if-statement 5.4 switch-statement 5.5 give a example exercises Review ---Control format I Printf: (1) d-format: %d– output according to actual length. %md—”m” is width Review ---Control format %ld---output by long integer. (2) o-format: %o— non sign. Think sign-bit as figure. (3) x-format: %x– the same as “%o” (4)u-format: %u—unsigned decimal. Review ---Control format (5) c-format: %c—ch

文档评论(0)

1亿VIP精品文档

相关文档