Find the error in the following pseudo code
Declare Boolean finished = false
Declare Integer value, cube
While not finished
Display “enter a value”
Input value
Set cube = value ^3
Display cube
End while

Respuesta :

Pseudocodes are used as a prototype of an actual program.

The error in the pseudocode is that, the while loop in the pseudocode will run endlessly.

From the pseudocode, the first line is:

Declare Boolean finished = false

The while loop is created to keep running as long as finished = false.

So, for the while loop to end, the finished variable must be updated to true.

This action is not implemented in the pseudocode.

Hence, the error in the pseudocode is that, the while loop is an endless loop

Read more about pseudocodes at:

https://brainly.com/question/17442954

ACCESS MORE