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
29 #include <iostream> using namespace std; int main( void ) { int i = 1 ; while (i <= 4 ) { cout << i << endl << endl; i++; } return 0 ; } 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

This note was uploaded on 11/16/2011 for the course COP 2271 taught by Professor Staff during the Fall '11 term at University of Florida.

Ask a homework question - tutors are online