The easiest form of the IF statement is
IF condition-1 statement-1
where the condition-1 may be any one from the shown below.
When the condition-1 becomes true then statement-1 will be executed. The Statement-1 can be an easy statement or a compound statement. If the conditions fail then control goes to the next statement.
1) IF A > B DISPLAY " A IS BIG"
2) IF BASIC-PAY NOT > 5000 GO TO TEST-PARA.