What's the bug in this pseudo-code

computer science

Description

There are at least three bugs in the pseudocode below. Using plain English, tell what each bug is. (Don't correct the code, just identify each bug. For example, if an "if" statement was missing its "endif" you would say, "If statement is missing the corresponding endif.") The way to do this is to step through the code manually (using a pencil and paper may be helpful). When something doesn't work properly, write down what went wrong and why.

Instruction Files

Related Questions in computer science category