大连东软信息学院大一上 电子工程 c语言-实验_第三次,第六周.docVIP

  • 36
  • 0
  • 约3.48千字
  • 约 6页
  • 2017-01-25 发布于重庆
  • 举报

大连东软信息学院大一上 电子工程 c语言-实验_第三次,第六周.doc

Lab 3 Conditions OBJECTIVES After completing this experiment, you will be able to: Use expressions and conditional operators Use logic operators Use if structure and if-else structure Use switch structure PROCEDURES PART 1 Understanding the difference between character and interger(include Decimal, Octal and Hexdecimal). /* Write down the display result through reading program, then verify by run this program. */ 1. #include stdio.h void main() { char ch=0x31; printf(%d\n,ch); /* ____49_______*/ printf(%o\n,ch); /* _____61_______*/ printf(%x\n,ch) /* _____31

文档评论(0)

1亿VIP精品文档

相关文档