A professor has constructed a 3-by-4 two-dimensional array offloat numbers. This array currently contains the lab grades, quizgrades and exam grades of three students in the professor’s class.Write a C++ program that calculate the final grade for each studentand save it to the last column. You program should display thefollowingoutput:            Lab   Quiz     Exam      Final   Â
Student 1Â Â Â Â Â Â Â Â Â ## ## ## ##
Student 2Â Â Â Â Â Â Â Â Â ## ## ## ##
Student 3Â Â Â Â Â Â Â Â Â ## ## ## ##
The final grade consists of 30% lab grade, 30% quiz grade and40% exam. For example, if lab grade is 95, quiz grade is 82 andexam grade is 87, the final grade is equal to 95∗0.3+82∗0.3+87∗0.4.Use random numbers between 40 and 100 for lab, quiz and examgrades.