Pages from !Pseudocode Guide-11
Pages from !Pseudocode Guide-11
Where:
condition is the condition to evaluate. Its answer will always be in the form of True or
False.
instructions are the pseudocode statements that will only be executed if the condition
evaluates to true. In simple words, these lines of code will only run if the condition’s answer is
True otherwise they will not run and computer will directly jump to line after END IF
statement
Example
IF weight < 20 THEN
PRINT “You are underweight”
ELSE IF weight < 35 THEN
PRINT “Your weight is normal
END IF
12