文件名称:45
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.28kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
N名学生的成绩已在主函数中放入一个带头节点的链表结构中,h指向链表的头节点。请编写函数fun,它的功能是:求出平均分,由函数值返回。
例如,若学生的成绩是:85,76,69,85,91,72,64,87,则平均分应当是:78.625.
注意:部分源程序在文件PROG1.C中。
请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。
-N student achievement has been the main function into a linked list structure to take the lead node, h point to the head of the list node. Please write the function fun, it' s function is to: find the average, the value returned by the function. For example, if student achievement is: 85,76,69,85,91,72,64,87, the average should be: 78.625. Note: Some source code in the file PROG1.C. Do not change main function and other functions in any content, only the braces in the function fun fill a number of statements you write.
例如,若学生的成绩是:85,76,69,85,91,72,64,87,则平均分应当是:78.625.
注意:部分源程序在文件PROG1.C中。
请勿改动主函数main和其它函数中的任何内容,仅在函数fun的花括号中填入你编写的若干语句。
-N student achievement has been the main function into a linked list structure to take the lead node, h point to the head of the list node. Please write the function fun, it' s function is to: find the average, the value returned by the function. For example, if student achievement is: 85,76,69,85,91,72,64,87, the average should be: 78.625. Note: Some source code in the file PROG1.C. Do not change main function and other functions in any content, only the braces in the function fun fill a number of statements you write.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
prog1.c
blank1.c
modi1.c
blank1.c
modi1.c
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.