Answered step by step
Verified Expert Solution
Question
1 Approved Answer
RA CREDIT Task: Range Condition (10 points) 1. Create a variable score and assign it an integer value between 0 and 100 . 2. Use
RA CREDIT Task: Range Condition (10 points) 1. Create a variable score and assign it an integer value between 0 and 100 . 2. Use a range condition to determine the grade of the score based on the following criteria: - If score is between 90 and 100 (inclusive), print "Congratulations! You got an A." - If score is between 80 and 89 (inclusive), print "Well done! You got a B." - If score is between 70 and 79 (inclusive), print "Good job! You got a C." - If score is between 60 and 69 (inclusive), print "You passed with a D." - If score is below 60, print "You need to improve. You got an F." 3. Make sure to handle all possible scenarios and provide appropriate messages for each case.
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