Join IDNLearn.com and start getting the answers you've been searching for. Get step-by-step guidance for all your technical questions from our knowledgeable community members.

Let n be an integer value. Which of the following expressions evaluates to true if and only if n is a two-digit integer (i.e., in the range from 10 to 99, inclusive)?

a. n = (n MOD 100)
b. (n ≥ 10) AND (n < 100)
c. (n < 10) AND (n ≥ 100)
d. (n > 10) AND (n < 99)


Sagot :

The expression that evaluates to true if and only if n is a two-digit integer is;

B: (n ≥ 10) AND (n < 100)

Integers

We are told that the range of values is from 10 to 99.

Now,from the given range of numbers, we are told that 10 and 99 are inclusive.

Thus;

  • n is greater than or equal to 10
  • n is less than or equal to 99

Looking at the options, the only one that is correct is option B where;

(n ≥ 10) AND (n < 100)

Read more about Integers at; https://brainly.com/question/11408596