Question
What is the output of the following program if the input is 75. Note: There is more than one line of code printed; enter each
What is the output of the following program if the input is 75. Note: There is more than one line of code printed; enter each line separately on a new line.
if score > 0 and score < 60:
print (Your grade is an F)
elif score >= 60 and score < 70:
print (Your grade is D)
elif score >= 70 and score < 80:
print (Your grade is C)
elif score >= 80 and score <90:
print (Your grade is B)
elif score >=90:
print (Your grade is A)
else:
print (Youve entered a score out of range)
print (done)
a | done | |
b | You've entered a score out of range | |
c | Your grade is C | |
d | Your grade is C You've entered a score out of range done |
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