samedi 23 septembre 2017

java, generate random, frequency, letter grade

Assume 25 students in a class. Generate random numbers ranging from 50 to 100 to be the average score of each student. Find the frequency of each letter grade, that is, the number of students in each letter grade. Print the number of students getting an “A”, a “B”, a “C, a “D” and an “F” separately.




Aucun commentaire:

Enregistrer un commentaire