Java数组实例-实现简易的学生成绩管理系统

import java.util.*;
public class StudentManagementSystem {
	public static void main(String[] args) {
		Scanner input = new Scanner(System.in);
		System.out.print("请输入学生人数:");
		int StudentNumber = input.nextInt();
		System.out.print("请输入课程数目:");
		int CourseNumber = input.nextInt();
		
		String[] StudentName = new String[StudentNumber];	/*存储学生姓名*/
		String[] CourseName = new String[CourseNumber];	/*存储课程名称*/
		int[][] StudentMark = new int[StudentNumber][CourseNumber];	/*存储学生成绩*/
		int[] Totalscore = new int[StudentNumber];	/*存储成绩总分*/
		int[] Average = new int[StudentNumber];	/*存储平均分*/
		String[] Gather = new String[StudentNumber];	/*数组集合*/
		
		for(int i=0;i

你可能感兴趣的:(JAVA)