Question: IF STATEMENT: Assigning Letter Grades [ Execute this question in a new script named Iname _ fname _ lab 3 _ grades.m ] a
IF STATEMENT: Assigning Letter Grades
Execute this question in a new script named "Inamefnamelabgrades.m
a Write a pseudocode that reads in a numerical grade and assigns a letter grade to it according to the following table:
table grade,A grade B grade C grade D grade F
b Then turn your pseudocode to Matlab statements.
c Test your program for grade values of :
BEGINNING OF THE CODE IS GIVE BELOW. FILL IN THE BLANKS.
lnamefnamelabgrades.m
Brief: This program takes numer grade in
& and prompts the letter grade.
Get the numeric grade
grade input Please enter your grade: ;
Find letter grade with if construct
if grade
dispThe grade is A;
elseif
end;
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
