Why does the following pseudocode not perform as indicated in the comments? // This program asks the user to enter a value // between 1 and 10 and validates the input. Declare Integer value // Get a...



Why does the following pseudocode not perform as indicated in the comments?


// This program asks the user to enter a value


// between 1 and 10 and validates the input.


Declare Integer value


// Get a value from the user.


Display "Enter a value between 1 and 10."


Input value


// Make sure the value is between 1 and 10.


While value <> 10



Display "ERROR: The value must be between 1 and 10."



Display "Enter a value between 1 and 10."



Input value


End While

Nov 25, 2021
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here