Hi everyone, I'm new to the forum and also new to Maple.
I am trying to do the following:
"Write a procedure, marks, to take a student’s mark and output the appropriate grade, based on the following table:"
|
Mark
|
0 – 39.99
|
40 – 49.99
|
50 – 59.99
|
60 – 69.99
|
70 +
|
|
Grade
|
Fail
|
Third class
|
Lower Second class
|
Upper Second class
|
First class
|
However I am having problems right from the beggining.
I have entered the following code and keep getting back an error message.
Grade:=proc(mark::nonnegative, numeric);
and this is the error that comes up:
Error, unterminated procedure
As I am quite new to Maple I don't understand where I am going wrong.
Any help at all would be appreciated, thanks :)