using java Write a main() method for this problem; you don't need to code any additional methods. Assume that you've go

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

using java Write a main() method for this problem; you don't need to code any additional methods. Assume that you've go

Post by answerhappygod »

using java
Write a main() method for this problem; you don't need to codeany additional methods. Assume that you've got an array of 50 integer values that representexam scores. The points earned can be anything from 0 to 100.Declare and populate the array to create a sample data set. To testyour algorithm, populate the array with random integers since youdon't have actual data yet. Then, go through the array anddetermine the number of students in each grade category: A, B, C,D, or F.
Assume a simple grading scale, 90 and above is an A, 80 andabove a B, 70 and above C, 60 and above D, and anything else, F.Use this sample output for outuput (actual numbers will vary basedon what the random number generator produces):
Grade DistributionA: 12B: 18C: 12D: 7F: 1
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply