Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

II. Cases (Create a Java program) The Mentari Semesta Junior High School assessment center wants to help teachers so that it is easier for them

II. Cases (Create a Java program) The Mentari Semesta Junior High School assessment center wants to help teachers so that it is easier for them to get the calculation results of the grades obtained by students. The scoring system used in Mentari Semesta's private junior high school uses a range of values from 1-10. After entering the scores from the students, the teacher will get a summary of the scores obtained by the students along with their averages and modes. 1.Ask the user to specify the number of grades the student wants to enter. The minimum number of students per class is 10 (ten) students, therefore users cannot enter numbers smaller than 10. 2. Ask the user to enter a grade according to the number of student scores. The range of values used is 1-10, therefore the user is only allowed to enter values in that range. If it is less than 1 or greater than 10, then the user is asked to re-enter the value. 3. After entering all grades for students, the system will display a summary of the grade data. What is displayed is how many students got a grade of 1, how many students got a grade of 2, and so on until how many students got a grade of 10. 4. The system then displays the average value by calculating the total value of the students divided by the number of students. 5. Finally, the system displays the mode of the students' grades. If more than one value has the highest frequency, all modes are displayed. If there is no more than 1 frequency, no mode is considered. You are asked to create a program as follows: Display example: Value 1: 5 Score 2: 3 Score 3: 10 Score 4: 9 Score 5: 10 Score 6: 3 Score 7: 5 Score 8: 10 Score 9: 9 Score 10: 3 Average: 5,5373 Mode: Value 3, 5, 8

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

Seven NoSQL Databases In A Week Get Up And Running With The Fundamentals And Functionalities Of Seven Of The Most Popular NoSQL Databases

Authors: Aaron Ploetz ,Devram Kandhare ,Sudarshan Kadambi ,Xun Wu

1st Edition

1787288862, 978-1787288867

More Books

Students also viewed these Databases questions