/*计算期末某门课程考试成绩,该课程有四道大题,该班有X位同学,求出每个同学的成绩,然后分别输出*/importjava.util.Scanner;//Scannerisinjava.utipublicclassexam{publicstaticvoidmain(String[]args){Scannerinput=newScanner(System.in);intscore;//假设该试题包含若干道大题,score是某大题的得分intstuNo;//班级人intsum=0;//该学生改课程的分数总和System.out.