Ask Question
20 February, 11:19

If you are asked to determine if a value is inside a certain range of values like the age of someone who is a teenager, what Boolean operator should you use for your VBScript conditional expression?

+5
Answers (1)
  1. 20 February, 11:38
    0
    To determine if a value is between range of values like age between 12 and 19, you will use a combination of relational and logical operators. consider the example in the explanation section.

    Explanation:

    In Visual Basic programming Language, given an integer age; we can write the expression this way

    if age>12 And age<=19 Then

    Console. WriteLine ("You are a teenager")

    Else

    Console. WriteLine ("You are not a Teemnager")

    End If
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “If you are asked to determine if a value is inside a certain range of values like the age of someone who is a teenager, what Boolean ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers