C语言三种循环结构语句辨析  被引量:4

The Discrimination of Three Circular Statements from C Language

在线阅读下载全文

作  者:万延芝[1] 高迎辉 

机构地区:[1]鞍山技师学院,辽宁鞍山114020

出  处:《鞍山师范学院学报》2011年第2期45-47,共3页Journal of Anshan Normal University

摘  要:几乎所有的应用程序都有循环结构.C语言的循环结构有三种语句格式:即While、Do-While和For语句.本文从语句格式、流程图和三种结构的应用领域进行比较辨析,得出结论:C语言用于表述循环的三种语句中,For语句书写灵活,功能较强.并以一个典型的程序为例,运用三种循环结构进行了比较分析.Almost all the applications have circular structures.And the circular structures from C language have three statements:WHILE,DO-WHILE and FOR.This article compares the formats,flow charts and application fields of these statements and draws the conclusion that any of the above statements can express the same algorithm.At last,taking a typical program as an example,the paper compares and analyzes the application of the three circular structures.

关 键 词:C语言 循环结构 流程图 语句格式 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象