Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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%.

image text in transcribed

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 here

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Readings In Database Systems

Authors: Michael Stonebraker

2nd Edition

0934613656, 9780934613651

More Books

Students also viewed these Databases questions