home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH02 / A02212.WAV (.mp3) < prev    next >
Waveform Audio File Format  |  1993-11-29  |  214.4 KB  |  1 channel  |  11,025 sample rate  |  20 seconds
Transcription: If you want to check the condition only after the statements in a loop have been executed, use a do-while loop. In this example, the message x is 2 is outputted before the condition x less than 2 is evaluated. A do-while loop always executes the body of the loop at least once.