文件名称:2
介绍说明--下载内容均来自于网络,请自行研究使用
1.请编写一个函数void fun(char *tt,int pp[]),统计在tt字符中"a"到"z"26各字母各自出现的次数,并依次放在pp所指的数组中。
2.下列程序定义了n×n的二维数组,并在主函数中赋值。请编写函数fun,函数的功能使求出数组周边元素的平均值并作为函数值返回给主函数中的s。-1. Please write a function void fun (char* tt, int pp []), statistics tt characters " a" to " z" 26 their number of occurrences of each letter, and then click on the pp referred to in the array. 2. The following program defines the two-dimensional array of n × n, and in the main function assignment. Please write the function fun, function, features an array of peripheral elements to calculate the average value as the function to return to the main function of s.
2.下列程序定义了n×n的二维数组,并在主函数中赋值。请编写函数fun,函数的功能使求出数组周边元素的平均值并作为函数值返回给主函数中的s。-1. Please write a function void fun (char* tt, int pp []), statistics tt characters " a" to " z" 26 their number of occurrences of each letter, and then click on the pp referred to in the array. 2. The following program defines the two-dimensional array of n × n, and in the main function assignment. Please write the function fun, function, features an array of peripheral elements to calculate the average value as the function to return to the main function of s.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
新建 文本文档.txt