Question: We are asked to write a VBA function which returns the corresponding grade point according to the input argument grade. You can assume that
We are asked to write a VBA function which returns the corresponding grade point according to the input argument grade. You can assume that grade always contains a valid letter grade. Finish the below function Grade Point (). (10 marks) Function GradePoint (grade as string) As Double deal with the letter only. That is, Grade Point = InStr (__, "FDCBA", Left ( 1 Grade Point = 1 deal with the sign now If Right ( GradePoint = ElseIf Right ( GradePoint End If End Function ignore the sign for now )) = "+" Then ) = "-" Then O
Step by Step Solution
There are 3 Steps involved in it
InStr InStr Start String1 String2 Compare returns the position ... View full answer
Get step-by-step solutions from verified subject matter experts
