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
©2020 ioDraw All rights reserved
JavaScript study ( Scope )R Language group summation , Group average , Group count antd table sort 2021 Front end high frequency interview questions ( You have to watch it !!!)Android end Firefox Testing credit card and address auto fill function Sql What is the order of execution of ?vue+element-ui Realize the input limit of price 2021 Front end interview questions and written questions ——Vuejavascript Adding and deleting form information FastAPI to write get,post Interface , adopt json Interface for parameter transfer