-
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文...
设计一个学生类,学生类中应包括学号,姓名,语文成绩,数学成绩,英语成绩,同时还要提供两个方法,一个方法计算总成绩,一个方法计算平均成绩。
现在有一个文本文件,该文件有若干行,每一行存放着某个学生的数据,包括:学号,姓名,语文成绩,数学成绩,英语成绩。数据与数据之间用空格隔开,例如:
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的画螺旋线程序-A painting on the java process spiral
- 2022-07-18 08:51:50下载
- 积分:1
-
一个java的局域网聊天室软件,可以实现单人对单人或单人对多人的聊天。...
一个java的局域网聊天室软件,可以实现单人对单人或单人对多人的聊天。-a java chat room LAN software, can achieve single pair of single or single people to chat.
- 2022-02-14 03:07:23下载
- 积分:1
-
myeclipse开发的简单留言薄的例子,struts架构
myeclipse开发的简单留言薄的例子,struts架构-myeclipse the development of a simple book for example, struts framework
- 2022-03-22 09:38:11下载
- 积分:1
-
产生一个随机数,然后统计餐厅进出人数,点菜价格,点菜时间。最后算一天的总收入...
产生一个随机数,然后统计餐厅进出人数,点菜价格,点菜时间。最后算一天的总收入-have a random number, then the number of statistics from the restaurant, order food prices, orders time. The final day of counting the total income
- 2022-01-24 13:49:47下载
- 积分:1
-
在线代理拍卖系统
其有关在线拍卖...自动投标......和代理基于 auction.consist 的论坛,电子邮件发送,承认,用户--> 买方和卖方--> 单独的登录...
- 2023-06-20 14:50:04下载
- 积分:1
-
一个动画编辑器 可以用来生成游戏中的动画资源
一个动画编辑器 可以用来生成游戏中的动画资源-An animation editor
- 2022-03-19 07:36:22下载
- 积分:1
-
运行在JDK下的学生成绩管理系统源码.可以查询数据,添加数据,删除数据,和排序等...
运行在JDK下的学生成绩管理系统源码.可以查询数据,添加数据,删除数据,和排序等-running on JDK of student performance management system source code. Data can find, add, delete data, and sequencing, etc.
- 2022-07-13 17:13:33下载
- 积分:1
-
JSP学习指南.rar,本人初学JSP时用过的教程,很好,现分享出来。...
JSP学习指南.rar,本人初学JSP时用过的教程,很好,现分享出来。-JSP study guide. Rar, when I used JSP beginner tutorial, very good, is to share out.
- 2022-01-31 13:41:08下载
- 积分:1
-
3D矩阵转换并显示转换的3D点
3D矩阵转换并显示转换的3D点-3D matrix conversion and display of 3D point conversion
- 2022-04-10 15:07:07下载
- 积分:1