Please help with a function codeSymbol, to convert each mark to a symbol (A, B, C, D, E, F) and a code
(7,6,5,4,3,2,1) according to the table below. And call it in the main function.
Use the table below to determine the student symbol and code attained.
CODE SYMBOL MARK
7 A 80 - 100%
6 B 70 - 79%
5 C 60 - 69%
4 D 50 - 59%
3 E 40 - 49%
2 F 30 - 39%
1 FF 0 - 29%