Question: c programming Question 2. You and two of your friends have just received final grades for the all four CSE courses you took this semester.
c programming Question 2. You and two of your friends have just received final grades for the all four CSE courses you took this semester. But your friends dont know how to calculate this semesters grade point or TGPA. You realize that you can store all of your grades and calculate your TGPA using a 2D matrix. Now write a C program that takes the grades as input for all of you and prints out your TGPA.
The formula to caluculate TGPA is:
Sample Input Enter grades for Sub1 Sub2 Sub3 Sub4: Student1 grades: 3.3 3.7 2.3 2.7 Student2 grades: 2.3 2.5 3.0 2.7 Student3 grades: 3.7 3.3 2.7 4.0
Sample Output Student1 TGPA: 3.00 Student2 TGPA: 2.62 Student2 TGPA: 3.43
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
