What is wrong here:
This is my text:
function grade=switchletgrade1(quiz)
if quiz<0 ||quiz>4
grade='X'
else switch quiz
case 3
grade='B'
case 4
grade='A' otherwise grade='C'end
end
end
switch function
grade='A' otherwise grade='C'end
Best Answer