Question
java. For this exercice, you will need to write a method that asks 10 numbers to the user in the main method. These numbers represent
java.
For this exercice, you will need to write a method that asks 10 numbers to the user in the main method. These numbers represent 10 students grade. Once the 10 numbers are obtained, you will need to call the four other methods passing the 10 numbers as an argument. The method calculateAverage needs to calculate and then print the average of the grades. The method calculateMedian calculates and prints the median of the grades. The method calculateNumberFailed calculates and prints the number of students that failed and calculateNumberPassed calculates and prints the number of students that passes. The passing grade is 50%.
LabExercice6f class public static void main St ring[] args //your code here public static void calculat (double notes lateAverage //your code here public static void calcu lateMedian (double notes //your code here public static void calcu Failed (double[] notes //your code here public static void calcu lateNumbe r Passed (double[] notes //your code hereStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started