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?

Respuesta :

ijeggs

Answer:

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

Otras preguntas

ACCESS MORE
EDU ACCESS
Universidad de Mexico