Question: Code needs to be done in C 4. (Lastname_Lab4_p3.cpp, 25 points) A professor has constructed a 4-by-4 two- dimensional array of float numbers. This array
Code needs to be done in C

4. (Lastname_Lab4_p3.cpp, 25 points) A professor has constructed a 4-by-4 two- dimensional array of float numbers. This array currently contains the lab grades, quiz grades and exam grades of four students in the professor's class. Write a program that calculate the final grade for each student and save it to the last column. You program should display the following output: Lab Quiz Exam Final ## Student 1 Student 2 Student 3 Student 4 ## The final grade consists of 50% lab grade, 20% quiz grade and 30% exam. For example, if a student's lab grade is 90, quiz grade is 80 and exam grade is 85, the final grade is equal to 90*0.5+80*0.2+85*0.3. Use random numbers between 40 and 100 for lab, quiz and exam grades
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
