Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

JAVA Program Multiple unidirectional arrays (Part a 10 points, part b 10 points): Write, compile and run a Java program called GradeRecord.java that a. first

JAVA Program

Multiple unidirectional arrays (Part a 10 points, part b 10 points): Write, compile and run a Java program called GradeRecord.java that

a. first asks the user to enter the number of students and creates an array of the specified size for storing student scores. You may assume a maximum number of 25 student scores, but this number is to be specified by the user. The program then prompts the user to enter student scores. You can assume that the scores are integer numbers. It reads the entered student scores into the array, gets the best score, and then assigns grades based on the following scheme:

The grade is A if score is ? The grade is B if score is ? The grade is C if score is ? The grade is D if score is ? The grade is F otherwise. The calculated grades are stored in a second array. After the grades are calculated and stored, the information for all students is pulled from the two arrays and printed in the format specified.

b. The program should also calculate an average of the scores and determine how many scores are above or equal to the average and how many scores are below the average. This average should be the rounded-up integer value of the calculated average. For example, if the calculated average turns out to be 65.75, the average value should be converted to 66; if the value is 79.2, then it should be converted to 80.

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

Step: 3

blur-text-image

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

Structured Search For Big Data From Keywords To Key-objects

Authors: Mikhail Gilula

1st Edition

012804652X, 9780128046524

More Books

Students also viewed these Databases questions

Question

How is slaked lime powder prepared ?

Answered: 1 week ago

Question

Why does electric current flow through acid?

Answered: 1 week ago

Question

What is Taxonomy ?

Answered: 1 week ago

Question

1. In taxonomy which are the factors to be studied ?

Answered: 1 week ago