Write a program that calculates the average of a four lab marks.It should use the following functions:
• void getMarks() should ask the user for a lab marks, store itin a reference parameter variable, and validate it so that labmarks lower than 0 or higher than 100 is not accepted. Thisfunction should be called by main once for each of the four labmarks to be entered.
• void avgGradeDisp() should calculate and display the averageof the four lab marks rounded to the nearest whole number. Itshould also display the grade of the average lab marks obtained bythe student as per the table given below.
Lab Marks Grade GPA 75 - 100 A 3 65-74 B 2 50-64 C 1 0-49 F0