average , highest , Lowest score
Insert the code fragment here `import java.util.Scanner; public class Test1 { public static void
main(String[] args) { Scanner sc = new Scanner(System.in); int score [] = new
int[30]; int i,sum=0,min,max; float avg; System.out.println(" Please enter 10 Results of students :");
for(i=0;i<10;i++) { score[i]=sc.nextInt(); sum=sum+score[i]; } max=score[0];
min=score[0]; for(i=0;i<10;i++) { if(score[i]>max) { max=score[i];
}if(score[i]<min) { min = score[i]; } } avg=sum/10.0f;
System.out.println(" The average score is :"+avg); System.out.println(" What's the highest score :"+max);
System.out.println(" The lowest score is :"+min); } }`
Technology