Ask Question
11 August, 11:27

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?

+1
Answers (1)
  1. 11 August, 11:33
    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?
Find 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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers