On the Capabilities of While, Repeat, and Exit Statements

78Citations
Citations of this article
14Readers
Mendeley users who have this article in their library.

Abstract

A well-formed program is defined as a program in which loops and if statements are properly nested and can be entered only at their beginning. A corresponding definition is given for a well-formed flowchart. It is shown that a program is well formed if and only if it can be written with if, repeat, and multi-level exit statements for sequence control. It is also shown that if, while, and repeat statements with single-level exit do not suffice. It is also shown that any flowchart can be converted to a well-formed flowchart by node splitting. Practical implications are discussed. © 1973, ACM. All rights reserved.

Cite

CITATION STYLE

APA

Peterson, W. W., Kasami, T., & Tokura, N. (1973). On the Capabilities of While, Repeat, and Exit Statements. Communications of the ACM, 16(8), 503–512. https://doi.org/10.1145/355609.362337

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free