Simple if-then: IF condition statement ENDIF Example: IF you pay your money you take your chances ENDIF If-then-else: IF condition statement ELSE statement ENDIF Example: IF you pay your money you take your chances ELSE you keep your money ENDIF Compound if-then-else: IF condition statement ELSEIF condition statement ELSE statement ENDIF Example: IF you pay your money you take your chances ELSEIF I pay my money I take my chances ELSE we both keep our money ENDIF |