Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

In this hw, you are asked to write a Java program that loads a series of integers one by one (scores obtained by students in

image text in transcribed
image text in transcribed
In this hw, you are asked to write a Java program that loads a series of integers one by one (scores obtained by students in a test) and prints a report showing the following: 1) How many students passed the test (passing a test is obtaining a score of 7 or higher) 2) Print a report like the one shown in the sample run, a report that shows how many received the grade of A, B, C, D and F. The standard letter grade scale is used-See sample run. Note Well that you are NOT allowed to use arrays, arraylists, or any data structures that allow holding more than one value. That 1s: A11 variables declared in your code must be single variables declared fron the primitive data types (or strings). Here is your report: A total of 12 scores entered. 7 of them are 70 or higher. - Letter Grade distribution of the scores: - 3 Students earned the grade of A (90-100) - 1 Students earned the grade of B(8089) - 3 Students earned the grade of C(7079) - 2 Students earned the grade of D(6069) - 3 Students earned the grade of 7 ( 59 or below) - The average score is: 70.58 Would you like to process another class? ( Y or N):n (Here assume that the user enters either y,Y,n or N ) Goodbyel

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

Automating Access Databases With Macros

Authors: Fish Davis

1st Edition

1797816349, 978-1797816340

More Books

Students also viewed these Databases questions