Question: Program 1: Write a Python program to accept student ID, student name, marks and credit hours in n number of courses of a student and

 Program 1: Write a Python program to accept student ID, student

Program 1: Write a Python program to accept student ID, student name, marks and credit hours in n number of courses of a student and display the student ID, student name, mark, letter grade, grade points in all courses and the cumulative grade point average(CGPA). The value of n should be accepted as input. The CGPA should be printed with two decimal places. The Letter grade and grade points corresponding to a mark is given in the following table Mark Letter grade Grade points 90-100 A 85-89 3.7 4 B+ 76-80 B 3.3 B- 2.7 73-75 70-72 2.3 67-69 2 60-66 C- 1.7 D F 0 55-59 1 0-54 Note: To calculate the CGPA, the credit hours of each course is multiplied by the grade points in that course and the sum of these products is then divided by the sum of the credit hours. Include the following comments at the beginning of your code. Make sure that you replace and with your information. # File name: CGPA.py # Student ID: # Student name:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!