Help with syntax for three comparisons and the If command

I’m trying to do the following in a basic atom pro 28.

If a>2 and b<3 and c=5 then …

Can anyone help me out with the syntax for this command.
I have read the programming manual for the BA pro and it states that AND can be used for two comparisons.
Is there anyway to use it for three comparisons or should I check the first two and if they are true check the third ?

You can do multiple. I have a tendancy to () my expressions just to make sure that the order is handled properly.

like:
if (a>2) and (b < 3) and (c = 5) then

Kurt

Thanks Kurte