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 100) 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 >60 and the second score is higher than the first, display "Pass and Improving".
If the average is >60 and the second score is not higher than the first, display "Pass".
If the average is 60 and the second score is higher than the first, display "Improving but not passing".
If the average is 60 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 =[6052]
Scores =[9092]
Scores =[8070]
 Can you help me write code using matlab please. Write a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!