Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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 don't know how to calculate this semester's 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: TGPA = Course Grade n1 * 3 + Course Grede n2 * 3+.......Course Grade n * 3 3. Total Course Number n Sample Input Enter grades for Sub1 Sub2 Sub 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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

How To Build A Million Dollar Database

Authors: Michelle Bergquist

1st Edition

0615246842, 978-0615246840

More Books

Students also viewed these Databases questions