文件名称:a
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.41kb
-
已下载:1次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
使用字符流编程实现以下功能
*从键盘输入姓名、学号、成绩,并保存到文本文件中,重复进 行,直到输入空字符串为止
*从文件中读取各学生的成绩,并计算所有学生成绩的平均值、最大值、最小值和总分。
这个程序还有很多可以改进,比如如何确定成绩,当有的成绩大于100时,有的为个位数时又该如何subString,事实上这种截取成绩的方法太拙劣,不合适。 -Character stream programming the following features
From the keyboard and enter your name, student number, results, and save to a text file, repeated until you enter an empty string
* Read from the file of each student s achievements, and calculate the average of all student performance, maximum, minimum, and the total score.
This program can be improved, such as how to determine the results, some results greater than 100, some digits Shiyou how
subString, in fact this interception of the results is too clumsy, inappropriate
*从键盘输入姓名、学号、成绩,并保存到文本文件中,重复进 行,直到输入空字符串为止
*从文件中读取各学生的成绩,并计算所有学生成绩的平均值、最大值、最小值和总分。
这个程序还有很多可以改进,比如如何确定成绩,当有的成绩大于100时,有的为个位数时又该如何subString,事实上这种截取成绩的方法太拙劣,不合适。 -Character stream programming the following features
From the keyboard and enter your name, student number, results, and save to a text file, repeated until you enter an empty string
* Read from the file of each student s achievements, and calculate the average of all student performance, maximum, minimum, and the total score.
This program can be improved, such as how to determine the results, some results greater than 100, some digits Shiyou how
subString, in fact this interception of the results is too clumsy, inappropriate
(系统自动生成,下载前可以参看下载内容)
下载文件列表
a.txt
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.