Question: CSCI 1320 C programming 4) Write an algorithm to take a list of numbers from user and determine the grade for CSCI1320 students. You need
4) Write an algorithm to take a list of numbers from user and determine the grade for CSCI1320 students. You need to first prompt the user to know how many students are in the class and then take the final scores in a list. After taking the scores, you check which grade the student has got based on the input score stored in the list. If the score is between or 90 and 100 then it's an 'A' grade, if it's between or 80 to 89 then 'B' grade and so on. Input: How many scores to input? 5 63 71 95 52 80 Point Distribution: Output: Grade D Score: 63 Problem 1: 20 pts Grade C Score: 71 Problem 2: 20 pts Grade A Score: 95 Problem 3: 30 pts Grade F Score: 52 Grade B Problem 4:30 pts Score: 80
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
