Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Solve in Matlab by Script: Problem 5 The overall grade in a course is determined from the grades of 5 quizzes, 3 midterms, and a
Solve in Matlab by Script:
Problem 5 The overall grade in a course is determined from the grades of 5 quizzes, 3 midterms, and a final, using the following scheme Quizzes: Quizzes are graded on a scale from 0 to 10. The grade of the lowest quiz is dropped and the average of the 4 quizzes with the higher grades constitutes 25% of the course grade Midterms: Midterms are graded on a scale from 0 to 100. If the average of the midterm scores is higher than the score on the final, the average of the midterms is 35% of the course grade. If the final grade is higher than the average of the midterms, then the lowest midterm is dropped and the average of the two midterms with the higher grades is 35% of the course grade Final: Finals are graded on the scale from 0 to 100. The final is 40% of the course grade Write a computer program in a script file that determines the course grade for a student. The program first asks the user to enter the five quiz grades (in a vector), the three midterm grades (in a vector), and the grade of the final. Then the program calculates a numerical course grade (a number between 0 and 100). Finally, the program assigns a letter grade according to the following key: for Grade 90, B for 80 GradeStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started