Question: 1. Write a program to read name of student, TP Number and enter his/her all subject marks in list. Compute the total and percentage

1. Write a program to read name of student, TP Number and enter his/her all subject marks in list. Compute

1. Write a program to read name of student, TP Number and enter his/her all subject marks in list. Compute the total and percentage (Average) of a student. At the end display Name of student, TP Number, Total, Percentage and Grade of that semester by using function as defined below. (Note: 100-80=A+ 70-65 = B 55-50 = C- 80-75 = A 65-60 = C+ 50-0 = D/Fail). a. Use Display function to print output. b. Use mark function to accept parameter and return total to Display function. 75-70 = B+ 60-55 = C c. Use average function by passing parameter which is generated in mark function. d. Use grade function by passing parameter which is generated in average function. Sample Input/Output: Do you want to continue '0' to Continue '1' to Terminate : 0 Your Options are: 1. Add new student detail. 2. View all student details. 3. Search Specific student detail. Enter 2 subject Marks Enter 3 subject Marks Select your choice: 1 Enter Student Name : John Billy Enter John Billy's TP Number : TP098765 How many subjects in Semester: 5 Enter 1 subject Marks : 65 :70 :75 :80 : 85 : 375 : 75 :A Enter 4 subject Marks Enter 5 subject Marks Total of all Subjects Average of Semester Grade of Semester

Step by Step Solution

3.47 Rating (147 Votes )

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 Programming Questions!