工大后院

 找回密码
 加入后院

扫一扫,访问微社区

QQ登录

只需一步,快速开始

搜索
查看: 1540|回复: 1

剑桥大学IT-JAVA编程期末考试题。

[复制链接]
发表于 2003-11-1 12:25 | 显示全部楼层 |阅读模式
Java Programming.

Write a simple Java program. This program is to record marks for a maximum of 10 people. Your program is to prompt the user for a person’s name and the mark that they got. After this it should ask if the user wants to enter another mark and if they do ask for and store another. It should continue to do this till the user answers no to entering another mark.

Once this happens it should print out all the names and marks. It should also specify the min and max marks and who achieved them. It should also print out the average mark.

Finish in1 hour and half.

编辑一个简单的程序,本程序用于记录最多10个人的成绩。要求列出每个人的名子和成绩,之后系统提示是否继续纪录:Continue Yes/No. Yes:填写下一个人的名子和成绩, No: 列出已出入的全部名子和成绩。

当输入十人之后,程序结束,列出已出入十人的名子与成绩,最大值,最小值,平均值。

限时:90分钟
发表于 2003-11-2 20:12 | 显示全部楼层
这一道题90分钟啊,不会很难啊,
上次做作业我就做了类似题目
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 加入后院

本版积分规则

QQ|Archiver|手机版|小黑屋|广告业务Q|工大后院 ( 粤ICP备10013660号 )

GMT+8, 2024-5-16 19:27

Powered by Discuz! X3.5

Copyright © 2001-2024 Tencent Cloud.

快速回复 返回顶部 返回列表