Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
function grade = evaluateGrade(points,hand_W)
    grade = num2grade(points);
    if strcmp(hand_W,'fin') && grade ~= 'A' 
        grade = grade - 1;
    elseif strcmp(hand_W , 'stygg') && grade ~= 'F'
        grade = grade + 1;
    end    
end  

...