Each student in a course needs to submit 3 lab assignments and take 2 tests. Design a program to do the following. Ask the user to enter 3 lab scores and 2 test scores. Calculate and display the lab average and the test average. Also calculate and display the course grade, which equals 55% of the lab average plus 45% of the test average.
Accepted Solution
A:
Answer:Enter the value of the score in the laboratory 1
L1 = digited value.
Enter the value of the score in laboratory 2
L2 = digited value.
Enter the value of the score in laboratory 3
L3 = digited value.
Enter the value of the test score 1
P1 = digited value.
Enter the value of the test score 2
P2 = digited value.
Laboratory Average = (L1 + L2 + L3) / 3
Print "Laboratory Average"
Test Average = (P1 + P2) / 2
Print "Test Average"
Course qualification = 0.55 * (Laboratory Average) + 0.45 * (Test Average)
print "Course qualification"Step-by-step explanation: