Question: Assignment (10%) Write a program for the following scenario. Get the user to enter marks for 5 different assignments for a single student. Add up

 Assignment (10%) Write a program for the following scenario. Get the
user to enter marks for 5 different assignments for a single student.
Add up the marks (Total marks for the assignments is 100 respectively).
Convert the marks to 50%. If the total is less than 25,

Assignment (10%) Write a program for the following scenario. Get the user to enter marks for 5 different assignments for a single student. Add up the marks (Total marks for the assignments is 100 respectively). Convert the marks to 50%. If the total is less than 25, display the message "Status : Repeat Module". If the marks is more than or equal to 25, than ask the user to enter the exam marks (The total of the exam marks is 100).Convert the total marks entered to 50%. If the exam marks is less than 25, display the status of the student as "Status : Resit Final Exam ", if the student scored more or equal to 25, then add the exam marks to the coursework marks. If the student scored above and equal to 70, he is graded as "Pass with grade A". If the student scored between 69 and 60, he is graded as "Pass with grade B". If the student scored between 59 to 50, he is graded as "Pass with grade C". Your program should allow the user to continue to enter a new sets of marks for another student Your output should be as the following: Sample Outputs: Sample 1 Grading System Enter Assignment mark 1: 60 Enter Assignment mark 2: 40 I Enter Assignment mark 3: 50 Enter Assignment mark 4: 70 Enter Assignment mark 5: 50 The Coursework Marks is : 54% - 27/50 Enter Exam mark : 60 -30/50 Total Marks is : 57% Status: Pass with grade C Do you want to continue y?:y Aubccede AaBbccddee AaBbCcD Aal Normal No Spacing Heading 1 Sample 2 Grading System Enter Assignment mark 1: 50 Enter Assignment mark 2: 40 Enter Assignment mark 3:50 Enter Assignment mark 4: 30% Enter Assignment mark 5: 40 The Coursework Marks is: 42 % - 21/50 Status: Repeat Module Do you want to continue y?:y Sample Output 3 Grading System .. Enter Assignment mark 1: 60 Enter Assignment mark 2:40 Enter Assignment mark 3:501 Enter Assignment mark 4: 70 Enter Assignment mark 5: 50 The Coursework Marks is : 54% - 27/50 Enter Exam mark : 40 - 20/50 Status: Resit the Exam Do you want to continue y?:n End of Session

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!