资 源 简 介
输入5个学生的成绩(从0到100的整数),并将这5个数保存到文件“data.txt”中。然后再编写一个程序,从文件“data.txt”中读取这5个学生的成绩,计算并输出它们的平均数,然后再按从小到大的顺序输出这5个学生的成绩。
-The importation of five pupils (from 0 to 100 integer), and 5 the number of files saved to the " data.txt" in. The preparation of a program and then, from the file " data.txt" in which five students to read the results, calculated and their average output, and then the order from small to large output that results of five students.