Question: The given expression ( ( studentsInput < 8 5 0 0 ) && ( studentsInput > 2 1 5 0 0 ) ) incorrectly uses
The given expression studentsInput && studentsInput incorrectly uses the and operators. The expression evaluates to true if studentsInput is less than AND greater than No such integer value exists, so the expression always evaluates to false.
Changing the operators to and respectively causes the expression to evaluate to true if studentsInput is greater than or equal to AND less than or equal to
Not all tests passed.
clear
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
