Page 1 of 1

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

Posted: Tue Jul 12, 2022 8:10 am
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