Yessirrr like 3 times a week
The keywords used in programming languages that use decisions to redirect the flow of a program are called control structures.
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:
<span>If (empmedicalins = "y") And (empdentalins = "y") Then
print empidnumber, emplastname, empfirstname
Endif</span>