登录
首页 » Windows开发 » java小程序2:1。输入五名学生成绩,这个数字将B。

java小程序2:1。输入五名学生成绩,这个数字将B。

于 2022-01-26 发布 文件大小:2.72 kB
0 197
下载积分: 2 下载次数: 1

代码说明:

Java小程序两个: 1.输入五个同学的成绩,并将这五个数保存到文件“data.txt”中。然后再编写一个程序:从“data.txt”中读取这五个成绩,计算他们的平均数,然后从小到大排序并输出这五个人的成绩。 2.将八皇后问题的所有界保存到文件“Queen.txt”中。-Java applet 2 : 1. Importation of five students achievements, This number will be five to preserve documents "data.txt". Then the preparation of a program : "data.txt" Read this five results, calculating the average, then order from small to large output and five personal achievements. 2. Eight of the Queen"s community preservation of all documents "Queen.txt".

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • Delphi OP crypter研究
    应用背景样品函数ReadFile(文件名:AnsiString字符串);VaR和公司;公司;公司;公司;公司;公司;公司;公司;公司;公司; ;缓冲区 ; ; ; ; ; ; ;:AnsiString;的规模和规模,并在;和,和,;,;,;readbytes  ; ; ; ; ;:整数; ;defaultfilemode:字节;开始结果是:“”; ;defaultfilemode:=我不; ;我不:= 0; ;assignfile(F,文件名);重置(女,1); ;如果(ioresult = 0)然后一开始 ; ; ;尺寸:=文件大小(F); ; ; ;而(尺寸& gt;1024)做和,开始,开始 ; ; ; ; ;规定长度(缓冲区,1024); ; ; ; ; ;blockread(F,缓冲[ 1 ],1024,readbytes);和,和,和,结果:=结果+缓冲区; ; ; ; ; ;12(大小,readbytes);和,结束,结束; ; ; ;规定长度(缓冲区,大小); ; ; ;blockread(F,缓冲[ 1 ],大小);和,结果:=结果+缓冲; ; ; ;关闭一个打开的文件(F);结束了; ;我不defaultfilemode:=;终点功能readeof(delimit1,delimit2:字符串:字符串);VaR ;缓冲区 ; ; ; ; ;:AnsiString;reslength  ; ; ;:整数;我和公司的;&;&;&;&;&;&;&;posdelimit  ; ;:整数;开始 ;缓冲:= ReadFile(paramstr(0)); ;如果POS(delimit1,缓冲)& gt;POS(delimit2,缓冲)
    2022-10-07 03:10:02下载
    积分:1
  • 自己写的一个四叉树程序,虽然建立了,但是内容还很不全面。建立了一个正方形,把数据部分放置的其中点的坐标。...
    自己写的一个四叉树程序,虽然建立了,但是内容还很不全面。建立了一个正方形,把数据部分放置的其中点的坐标。-To write a quadtree procedure, although established, but the content is far from comprehensive. The establishment of a square, part of the data to place the coordinates of one point.
    2022-02-10 14:27:45下载
    积分:1
  • matlab代码的光子晶体材料模拟
    matlab code of photonic crysal material simulation
    2023-06-01 17:05:03下载
    积分:1
  • Visual Basic 的功能演示,动画光标
    Visual Basic 的功能演示,动画光标-Visual Basic functions of presentations, animated cursors
    2022-12-01 08:25:03下载
    积分:1
  • VC++ 与单片机通讯例子,新手自己的,见笑了
    VC++ 与单片机通讯例子,新手自己开发的,见笑了-VC++ With examples of single-chip communications, and newcomers to develop their own, and a laughing stock of the
    2023-08-30 10:40:03下载
    积分:1
  • VC++ doc
    VC++教程 VC++入门code,有老师的讲解和文档说明 很全面-VC++ doc
    2022-06-13 04:21:57下载
    积分:1
  • 图形信息校验码识别程序: 运行环境:Windows: 源码语言:简体中文: 源码类型:编程源码...
    图形信息校验码识别程序: 运行环境:Windows: 源码语言:简体中文: 源码类型:编程源码- VB源码- 图象: 授权方式:免费源码: 源码 -Graphic Information Check the identification procedures: Runtime Environment: Windows: Source Language: Simplified Chinese: Source Type: source code programming- VB source- image: License: Free Source: source
    2022-07-04 17:08:12下载
    积分:1
  • 比较好的c程序帮助文件,可以看看学习,对变成有一定的帮助作用...
    比较好的c程序帮助文件,可以看看学习,对变成有一定的帮助作用-C program to help better document, you can look at the study, to become a certain degree of help
    2023-03-26 21:45:03下载
    积分:1
  • MFC 对话框上打字 简单示例程序
    MFC 对话框上打字 简单示例程序VC6.0
    2022-02-26 17:13:27下载
    积分:1
  • 两个off文件的3D布尔运算
    三维空间对象的布尔运算功能是3D CAD、3D GIS和其他三维建模分析软件的核心,开发出正确、稳定、高效的三维空间布尔运算功能是一项复杂且极具挑战的工作
    2022-04-27 04:19:24下载
    积分:1
  • 696518资源总数
  • 106161会员总数
  • 5今日下载