文件名称:14
介绍说明--下载内容均来自于网络,请自行研究使用
编写一个程序,它使用下列函数
Fill_array()将一个double数组的名称和长度作为参数。它要求用户输入double值,并将这些值存贮到数组中。当数组被填满或用户输入非数字时,输入将停止,并返回实际输入了多少个数字。
Show_array()将一个double数组的名称和长度作为参数,并显示该数组的内容,
Reverse_array()将一个double数组的名称和长度作为参数,并将数组中的值反转
程序将使用这些函数来填充数组,然后显示数组,反转数组,然后显示数组,反转数组中除第一个和最后一个元素之外的所以元素,然后显示数组
-Write a program that uses the following functions Fill_array () will be a double name and length of the array as a parameter. It requires the user to enter a double value, and these values are stored in the array. When the array is filled or when the user enters non-numeric input will stop and return to the actual input how many digits. Show_array () will be a double name and length of the array as a parameter, and displays the contents of the array, Reverse_array () will be a double name and length of the array as a parameter, and the value of the array inversion program uses these functions to fill array, and then display the array, reverse the array, and then displays the array, reverse the array except the first and last elements so outside elements, and then displays the array
Fill_array()将一个double数组的名称和长度作为参数。它要求用户输入double值,并将这些值存贮到数组中。当数组被填满或用户输入非数字时,输入将停止,并返回实际输入了多少个数字。
Show_array()将一个double数组的名称和长度作为参数,并显示该数组的内容,
Reverse_array()将一个double数组的名称和长度作为参数,并将数组中的值反转
程序将使用这些函数来填充数组,然后显示数组,反转数组,然后显示数组,反转数组中除第一个和最后一个元素之外的所以元素,然后显示数组
-Write a program that uses the following functions Fill_array () will be a double name and length of the array as a parameter. It requires the user to enter a double value, and these values are stored in the array. When the array is filled or when the user enters non-numeric input will stop and return to the actual input how many digits. Show_array () will be a double name and length of the array as a parameter, and displays the contents of the array, Reverse_array () will be a double name and length of the array as a parameter, and the value of the array inversion program uses these functions to fill array, and then display the array, reverse the array, and then displays the array, reverse the array except the first and last elements so outside elements, and then displays the array
(系统自动生成,下载前可以参看下载内容)
下载文件列表
14数组区间调用.doc