Write a program that enters students' grades and gives them in the command window the mark they deserve (from A to F) with some comments. (write it as a function and M-file script )
How Can I do that?
function grade=input('Write the grade:';'s');
I wrote this function but I have to ask to user the grades like A-B-C etc.
So how can ı write the input in the m-file