Skip to content

Opening book details…

About this document

Understanding Sentinel Controlled Loops by Yong Cheng is a document available to read on EtoBox.

The document discusses sentinel-controlled loops, where a special sentinel value is used to indicate when a loop should end, such as entering a 0 to end a loop that is summing up entered numbers. It provides an example of a program that uses a sentinel-controlled loop to sum integers entered by the user until they enter 0, and discusses modifying the program to change the prompts for entering values.

Author
Yong Cheng
Language
EN