|
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分钟
|
|