One-Way Pseudocode Example
Pseudocode Example:
DECLARE X: INTEGER
OUTPUT “ENTER X VALUE:”
INPUT X
IF X>0
THEN
OUTPUT “POS NUMBER”
ENDIF
IF X =0
THEN
OUTPUT “ZERO NUMBER”
ENDIF
IF X <0
THEN
OUTPUT “NEG NUMBER”
ENDIF
Apply Code in Pseudocode Editor Given Below
Instructions:
- Press the Maximize button to change it to full screen.
- Delete sample code file from right side
- Create new file with name of Qno1 and start writing Pseudocode
- Construct all the questions given in the interactive book.
- “<-” use it to put arrows in for the assignment.
- There are three areas: “files”, “editor”, “Console”
Press the “Mark as Complete” button to finish the lecture.
