Hello vanan4u
These are your errors
1) You have declared the return type of main as void but returned an integer. It is recommended to use int main(). See here
2) You have made a system call, however forgot to include the necessary header files for the function (stblib.h). However, system calls are not recommended. See here
It is recommended to use a function like char get_grade(int marks)
instead of repeating it