Branching with Logical connectivity’s

0


Branching with Logical connectivity’s:

  • In this situation one “IF” is associated with a collection of conditions using either logical either logical “AND” or logical “OR” operator.

Syntax1:
If condition AND condition2 THEN
    Statement1;
    Statement2;
ELSE
    Statement1;
    Statement2;
END IF:

Syntax2:
IF condition1 AND condition2 THEN
    Statement1;
    Statement2;
ELSE
    Statement1;
    Statement2;
END IF;

Syntax3:
IF condition1 AND condition2 OR condition3 xTHEN
Statement1;
    Statement2;
ELSE
    Statement1;
    Statement2;
END IF;



 Click here to go to Back page

About the author

Donec non enim in turpis pulvinar facilisis. Ut felis. Praesent dapibus, neque id cursus faucibus. Aenean fermentum, eget tincidunt.

0 comments:

Recent Posts