Question: Can you help me write code using matlab please. Write a code that accepts an array that has the scores of two exams ( out
Can you help me write code using matlab please. Write a code that accepts an array that has the scores of two exams out of for a student. The code should calculate the average of the two scores, and then displays a message according to the scores as follows:
If the average is and the second score is higher than the first, display "Pass and Improving".
If the average is and the second score is not higher than the first, display "Pass".
If the average is and the second score is higher than the first, display "Improving but not passing".
If the average is and the second score is not higher than the first, display No improvement; not passing".
The screenshot should show the code and the outputs of the code for these cases:
Scores
Scores
Scores
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
