Answered step by step
Verified Expert Solution
Question
1 Approved Answer
3. Write down the code to create a program to collect the marks of the following subjects and to calculate the average score that the
3. Write down the code to create a program to collect the marks of the following subjects and to calculate the average score that the student obtained. - Math - English - Science - PE a) Assign each of the subject as a variable along with user inputs to each of them. Assign a variable named "avg" which should have the average of the student as the its value. ( Create meaningful messages on the user input message). b) Create the following output using the IF,ELIF and ELSE Statement with appropriate conditions. If the average is greater than 90 then print ("Your average is", avg, That is a very good score.") If the average is greater than 75 then print (Your average is, avg, That is a fairly good score. But you can improve) If the average is greater than 60 then print (Your average is", avg, That is not the best score. Please focus on the area of concerns.") If the average is less than 60 then print (Your average is", avg, Dear Student - Your score this term is too low. Try again next time")
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started