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:
- Start
- Display a message prompting the user to enter a positive integer (greater than 10).
- Get input from the user and store it in a variable number.
- While number is not a positive integer greater than 10:
- Display an error message indicating the input is invalid (e.g., "Please enter a number greater than 10").
- Prompt the user to enter a positive integer again.
- End While
- Display a message confirming the valid number entered (e.g., "You entered the number: number").
- End