文件名称:ad
介绍说明--下载内容来自于网络,使用问题请自行百度
程序中第一个for语句中又嵌套了一个for语句组成了双重循环。外循环控制逐行处理,并把每行的第0列元素赋予l。进入内循环后,把l与后面各列元素比较,并把比l大者赋予l。内循环结束时l 即为该行最大的元素,然后把l值赋予b[i]。等外循环全部完成时,数组b中已装入了a各行中的最大值。后面的两个 for语句分别输出数组a和数组b。-Procedures for the first statement and a nested for statement composition of a double cycle. Outside the control of progressive processing cycle, and each line of the first element of 0 given l. After entering the inner loop to the back of the list l with the element of comparison, and given the larger l than l. Loop the end of the line l is the largest element, and then to give the l value b [i]. External cycle completed, the array b has been put into the line of a maximum. Two for the back of the array a statement, respectively, and an array of output b.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
ad.doc
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.