Question: Consider the following function functional-grade( x) if x 59 Stateneat 1 Statement disp(Moreover , the student is on the honor is!) ele disp('The student has
Consider the following function functional-grade( x) if x 59 Stateneat 1 Statement disp(Moreover , the student is on the honor is!) ele disp('The student has failed 1. If we want to display the grade of the student and say that he has passed the exam what should Statement 1 be? afprintf(The student's grade isod. He has passed the exam in x) fprintf (The student grade ised He has passed the examin) disp('The student's grade as x He has passed the exam) d disp('The student's grade six He has passed the exam x) 2. For the dean's honor list, the grade needs to be greater than 84. Therefore, Statement 2 a. if (x 84) b. if (rade84) cif(xs greater than 84) dif( x84) 3. How many end" are needed for the above function? co d4 4. If we remove Te - from the first line, nothing changes True False True d False a b 1 O 2 3 O O O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
