Computer Science – 11.2 Constructs | e-Consult
11.2 Constructs (1 questions)
Login to see all questions.
Click on a question to view the answer
Pseudo-code:
- Begin
- Prompt the user to enter a number and store it in number.
- IF number is greater than 0 THEN
- Output "The number is positive."
- ELSE IF number is less than 0 THEN
- Output "The number is negative."
- ELSE
- Output "The number is zero."
- End