(tco 3) what vbscript boolean operator could be used to replace the nested selection structure in this pseudocode? if empmedicalins = "y" then if empdentalins = "y" then print empidnumber, emplastname, empfirstname endif endif

Respuesta :

tonb
You want both conditions to be true, so you can "And" them.
In vbscript, the and is written as "And" (not as && like other languages), so you get:

If (empmedicalins = "y") And (empdentalins = "y") Then
    print empidnumber, emplastname, empfirstname
Endif
ACCESS MORE
EDU ACCESS