文件名称:Sortgrade
-
所属分类:
- 标签属性:
- 上传时间:2012-11-16
-
文件大小:1.24kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
001 张三 85 90 98
设计一个java应用程序,从文本文件中读取数据,构造这些学生对象,然后按找总成绩从高到低的顺序输出到另外一个文本文件中,每个学生的数据占一行,数据与数据之间用空格隔开,输出顺序为:
学号,姓名,语文成绩,数学成绩,英语成绩,总成绩,平均成绩
例如
001 张三 85 90 98 273 91-Design a student class, student class should include Student ID, name, language achievement, mathematics achievement, English achievement, while also providing two methods, a method of calculating the total score, a method of calculating grade point average.
There is now a text file, the file number of lines, each line of data storage with a student, including: Student ID, name, language achievement, mathematics achievement, English achievement. Between the data and the data separated by spaces, for example:
001 Zhang San 859,098
Design a java application that read data from a text file to construct these students object, and then find the total score according to the order from high to low output to another text file, each student data per line, data and data of the separated with a space between the output sequence is:
Student ID, name, language achievement, mathematics achievement, English achievement, the total score, grade point average
Example
001 Zhang San 85,909,827
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
001 张三 85 90 98
设计一个java应用程序,从文本文件中读取数据,构造这些学生对象,然后按找总成绩从高到低的顺序输出到另外一个文本文件中,每个学生的数据占一行,数据与数据之间用空格隔开,输出顺序为:
学号,姓名,语文成绩,数学成绩,英语成绩,总成绩,平均成绩
例如
001 张三 85 90 98 273 91-Design a student class, student class should include Student ID, name, language achievement, mathematics achievement, English achievement, while also providing two methods, a method of calculating the total score, a method of calculating grade point average.
There is now a text file, the file number of lines, each line of data storage with a student, including: Student ID, name, language achievement, mathematics achievement, English achievement. Between the data and the data separated by spaces, for example:
001 Zhang San 859,098
Design a java application that read data from a text file to construct these students object, and then find the total score according to the order from high to low output to another text file, each student data per line, data and data of the separated with a space between the output sequence is:
Student ID, name, language achievement, mathematics achievement, English achievement, the total score, grade point average
Example
001 Zhang San 85,909,827
相关搜索: 平均成绩
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Sortgrade.java
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.