Use the repetition control structure to write code in Raptor to calculate letter grade for a course for a set of students. DO NOT use the array. A Program that uses arrays for this exercise WILL NOT be accepted.
Ask for the number of students in a course. Make sure the user enters 1 or more students. Must use a loop to validate. For each student,
A-90-100
B-80-less than 90
C-70- less than 80
D-60- less than 70
F-Less than 60
Enter the number of students: -1
Invalid - try again
Enter the number of students: -5
Invalid - try again
Enter the number of students: 2
Enter the number of assignments: -1
Invalid - try again
Enter the number of assignments: -2
Invalid - try again
Enter the number of assignments: 3
Enter the score for the assignment: 200
Invalid - try again
Enter the score for the assignment: -2
Invalid - try again
Enter the score for the assignment: 90
Enter the score for the assignment: 80
Enter the score for the assignment: 70
Enter grade for exam 1: 73
Enter grade for exam 2: 84
Enter grade for final exam: 92
Overall grade: 81.5
Letter grade: B
Enter the number of assignments: 2
Enter the score for the assignment: 90
Enter the score for the assignment: 80
Enter grade for exam 1: 73
Enter grade for exam 2: 84