文件名称:code
介绍说明--下载内容来自于网络,使用问题请自行百度
1.定义函数input输入数组数据
2.定义函数average求数组平均数
3.定义函数count求高于平均数的数组元素个数
4.主函数调用这些函数完成如下功能(见运行结果):
enter array :8 7 6 5
平均数:6.50
高于平均数的个数:2
Press any key to continue-1. Define function input Enter the array data
2. Define the function average to find the array average
3. Defines the function count to count the number of array elements above the average
4. The main function calls these functions to accomplish the following functions (see running results):
Enter array: 8 7 6 5
Average: 6.50
Higher than the average number: 2
Press any key to continue
2.定义函数average求数组平均数
3.定义函数count求高于平均数的数组元素个数
4.主函数调用这些函数完成如下功能(见运行结果):
enter array :8 7 6 5
平均数:6.50
高于平均数的个数:2
Press any key to continue-1. Define function input Enter the array data
2. Define the function average to find the array average
3. Defines the function count to count the number of array elements above the average
4. The main function calls these functions to accomplish the following functions (see running results):
Enter array: 8 7 6 5
Average: 6.50
Higher than the average number: 2
Press any key to continue
(系统自动生成,下载前可以参看下载内容)
下载文件列表
code/code.doc
code
code
1999-2046 搜珍网 All Rights Reserved.
本站作为网络服务提供者,仅为网络服务对象提供信息存储空间,仅对用户上载内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。
