QUESTION 20 Which of the following expressions would check if a number, x, is outside the range 90 - 100, inclusive (i.e., either less than 90 or greater than 100)? x <= 90 AND x >= 100 x < 90 AND x > 100 x <= 90 OR x >= 100 x < 90 OR x > 100
Added by Blanca H.
Close
Step 1
This means that x can be less than 90 or greater than 100. To express this in code, we can use the logical operator "OR" because we want either condition to be true for the expression to be true. Show more…
Show all steps
Your feedback will help us improve your experience
Donna Densmore and 87 other AP CS educators are ready to help you.
Ask a new question
Labs
Want to see this concept in action?
Explore this concept interactively to see how it behaves as you change inputs.
Key Concepts
Recommended Videos
Which of the following describes the range of $x ?$ A. $x \geq 1$ B. $x \geq 9$ C. $-1<x<9$ D. $9\geq . x>1$
Determine whether each number is a solution of the given inequality. $y>0$ a) $-1$ b) 1 c) 0 d) 100
Elementary Algebra Review
Equations, Inequalities, and Problem Solving
Which of the statements below is true for the following set of numbers? 20, 5, 50, 95, 75, 60 O The range and the midrange are equal. O The range is 90 and the midrange is 45. O The range is 95 and the midrange is 55. O The range is 90 and the midrange is
Tim T.
Recommended Textbooks
Computer Science and Information Technology
Introduction to Programming Using Python
Computer Science - An Overview
18,000,000+
Students on Numerade
Trusted by students at 8,000+ universities
Watch the video solution with this free unlock.
EMAIL
PASSWORD