资 源 简 介
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".