-
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文...
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
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 accordin
- 2022-01-28 15:26:05下载
- 积分:1
-
包括财务管理系统的java源代码,详细的设置要求…
java财务管理系统内含源码,详细的设置了所需的内容,为jsp及java的代码-includes financial management system java source code, detailed set up the required content for jsp and java code
- 2022-07-07 21:54:06下载
- 积分:1
-
用JAVA编写的一个游戏程序,五子棋,看看怎么样
用JAVA编写的一个游戏程序,五子棋,看看怎么样-with JAVA prepared by the process of a game, 331, to see how kind.
- 2022-07-28 03:41:05下载
- 积分:1
-
悟透JavaScript docWT_JavaScript
不需要我多说啦,都知道很经典的,完整版的...
悟透JavaScript docWT_JavaScript
不需要我多说啦,都知道很经典的,完整版的
-悟透JavaScript docWT_JavaScript you do not need to say I know very classic, complete version of---------------------------
- 2022-06-18 12:21:35下载
- 积分:1
-
本压缩JAVA源程序是用来学习正则表达式的。
本压缩JAVA源程序是用来学习正则表达式的。-JAVA source of the compression is used to study regular expressions.
- 2022-12-09 02:25:02下载
- 积分:1
-
JAVA prepared by a simple calculation of the age of calculators, the first DOG Y...
JAVA编写的一个简单计算年龄的计算器,首先输入DOG YEARS的数值,HUMAN YEARS得到的结果相应的乘以10 得出!很明朗! -JAVA prepared by a simple calculation of the age of calculators, the first DOG YEARS numerical input, HUMAN YEARS corresponding results obtained by multiplying 10! Very uncertain!
- 2022-02-20 01:05:26下载
- 积分:1
-
所上载的是一个可以显示出进度条的小程序.
所上载的是一个可以显示出进度条的小程序.-which is available on a show that the progress of the small program.
- 2023-03-11 10:45:03下载
- 积分:1
-
前台的CSS教程,帮助教师做好网站的重构的第一步
前台的CSS教程,帮助教师做好网站的重构的第一步-CSS Tutorial prospects to help teachers do a good job in the first step in reconstruction of the site
- 2022-02-06 04:56:38下载
- 积分:1
-
米勒
Miller-Rabin Prime Number Test
- 2023-08-02 19:05:03下载
- 积分:1
-
SSD3的Exercise 7的答案,编写日期:2009.12.20
SSD3的Exercise 7的答案,编写日期:2009.12.20-the answer of exercise 7
- 2022-03-23 09:31:15下载
- 积分:1