Answered step by step
Verified Expert Solution
Link Copied!

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.
image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Essential Data Protection For Estate Agencies In Singapore 2024

Authors: Yang Yen Thaw Yt

1st Edition

B0CQK79WD3, 979-8872095392

More Books

Students also viewed these Databases questions

Question

show that language is ambiguous

Answered: 1 week ago