{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

chap 4 notes 29 - end of the while block it loops back to...

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

View Full Document Right Arrow Icon
#include <iostream> using namespace std; int main( void ) { int i = 1 ; while (i <= 4 ) { cout << i << endl << endl; i++; } return } i = 2 while Example Once the program reaches the
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: end of the while block, it loops back to the top to evaluate the condition again. This is where the term “loop” comes from....
View Full Document

{[ snackBarMessage ]}