143k views
13 votes
Need help with this question I would really appreciate it

Need help with this question I would really appreciate it-example-1
User CMY
by
4.7k points

1 Answer

8 votes

Answer:

checks if a number is between 0 and 101

Step-by-step explanation:

Option D is the correct. The operator, &&, is known as the logical AND operator. It actually returns true if both operands are true or it will return false if otherwise.

So, it means that the operation is saying that if n=number is between 0 and 101, it returns true but if it is not, it returns false.

Actually, it is checking if a number is between 0 and 101.

User Mudassar
by
4.9k points