期刊文献+

C语言中选择结构的使用探讨

Discussion on the Use of Selection Structure in C Language
下载PDF
导出
摘要 C语言作为学生学习计算机程序设计语言的入门语言,对于顺序、循环和分支结构的学习和掌握是非常重要的。选择结构作为C语言中常用的一种基本结构,学生在进行学习时往往会困惑于怎样使用选择结构、如何表达实际问题中的条件等。该文主要讲解了选择结构中的if语句和switch语句的使用条件以及他们之间不同的执行过程,并通过实例讲解了他们之间的区别和联系。 As an Introductory language to learn computer programming language, it is very important for students to learn and mastery sequential, cycle and selection structure in C language. As one of the basic structures in C language, the selection structure is often confused with how to choose the structure and how to express the conditions in the practical problems. This paper explains the choice of the structure of the if statements and switch statements and the use of the conditions of their different implementation process, and through an example to explain the differences and links between them.
作者 肖红德 XIAO Hong-de (School of Mathematics and Statistics, Henan University, Kaifeng 475004, China)
出处 《电脑知识与技术》 2017年第6期78-79,85,共3页 Computer Knowledge and Technology
基金 河南大学民生学院教改项目(MSJG2016042)
关键词 选择结构 表达式 顺序执行 流程图 算法设计 selection structure expression sequential execution flow diagram algorithm design
  • 相关文献

二级参考文献3

共引文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部