Question: According to the Code for Marks Program - Ask the user to input the marks for the five subjects in a list. The program must

According to the Code for Marks Program - Ask the user to input the marks for the five subjects in a list. The program must ensure that all the marks are between 0 and 100 (no decimals). If any marks are invalid: o Display an appropriate error message. If all marks are valid: o Display the list of marks entered. o Find the sum of all the marks in the list (all five subjects) and display the output as: The sum of your marks is: [sum] o Find the average of all the marks in the list (all five subjects) and display the output as: The average of your marks is: [average mark]

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