chap 4 notes 57 - program with the do-while loop instead of...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
57 do-while Statement o The do-while and while loops are very similar, and are interchangeable in many cases. o To illustrate this we write a previous
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: program with the do-while loop instead of the while loop. Notice that the output is exactly the same....
View Full Document

Ask a homework question - tutors are online