Question: 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
Get step-by-step solutions from verified subject matter experts
