Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In JAVATHANK YOU Question 6 For this exercice, you will need to write a method that asks for 10 numbers from the user in the
In JAVATHANK YOU
Question 6 For this exercice, you will need to write a method that asks for 10 numbers from 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 and print the results from the main. The method calculate Average needs to calculate and then return the average of the grades. The method calculate Median calculates and returns the median of the grades. The method calculateNumberFailed calculates and returns the number of students that failed and calculateNumberPassed calculates and returns the number of students that passes. Grades are numbers between 0.0 and 100.0. The passing grade is 50% public class 06 public static void maia(String[] args) //your code here public static double calculatenverage (doubler 1 notes) // your code HATA public static double calculatevedian(double1 notes) // your code here public static int calculate Nutiberr ailed(double // your code here notes) { public static int calculatenusiber Passed(doublel 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