Reducing the number of return statements is usually more important for a routine that returns a value, i.e., a function rather than a procedure, as it reduces the number of locations to change when the variable or expression that calculates the returned value is modified. More important than the number of returns or exits is well-designed logic. You are not required to follow this example, but you must supply the same information and follow the other rules stated above. Position in list of key. List is full and cannot insert item.
Program is terminated.
A Case for Teaching Multi-exit Loops to Beginning Programmers. Structured Programming with go to Statements. Elements of Functional Programming. Addison Wesley, 1989.