The principles of structured programming forbid the use of

A. WHILE-DO
B. GOTO
C. IF-THEN-ELSE
D. DO-WHILE

Check Answer

The correct answer is B) GOTO.

The principles of structured programming forbid the use of GOTO. The use of GOTO statements can make code difficult to understand and maintain, and can lead to errors and bugs. Structured programming encourages the use of control structures such as loops (WHILE-DO, DO-WHILE) and conditional statements (IF-THEN-ELSE) to improve the readability and maintainability of code.
We will be happy to hear your thoughts

Leave a reply

Exact Study
Logo