Tips To Remember When You Write Pseudocodes and Python Codes
Tips To Remember When You Write Pseudocodes and Python Codes
Data type
Variable name
In if conditions after you specify the condition THEN keyword must be available
and when the if condition ends END IF must include.
Ex:
IF (height >= 1 AND height <= 100) THEN THEN keyword
heightChk = FALSE
END IF END IF must include when
the if condition ends
For while loops DO must use after you specify the condition and to end the
while loop END WHILE must include
Ex:
WHILE heightChk DO
SEND “Enter the height (between 1 and 100): “ TO DISPLAY
RECEIVE height FROM (INTEGER) KEYBOARD
IF (height >= 1 AND height <= 100) THEN
heightChk = FALSE
END IF
END WHILE