Design and implement a program that asks the user for the number of students in a class.
Fantastic news! We've Found the answer you've been seeking!
Question:
Design and implement a program that asks the user for the number of students in a class. If the number of students is greater than 0, use a counter-controlled loop to generate a random number for Exams and Labs scores for each student. The exam and lab scores should be between 50 and 100. compute the letter grade for each student based on the following criteria:
Grade Distribution:
Exams 60%
Labs 40 %
getLetterGrade(int exams, int Labs){
fnalScore= exam*.6 + labs*.4
....
....
Return letterGrade?
}
Grade Evaluation:
90 -100 A
80 - 89 B
70 - 79 C
60 - 69 D
0 - 59 F
Then print the students name, scores for each category and the letter grade.
Related Book For
Introduction To Health Care Management
ISBN: 9781284081015
3rd Edition
Authors: Sharon B. Buchbinder, Nancy H. Shanks
Posted Date: