Question: How to have 2 output in one if statement?

Hi, I have a statement and when b is greater than 3, I would like two outputs which are z and y. But I can't seem to have it working. Please help. Thanks.

a:=2:b:=4:c:=7:d:=2:

this is what i wrote:
if b>3 then z:=a and y:=c elif b<3 then z:=d and y:=a end if:

Please Wait...