{[ promptMessage ]}

Bookmark it

{[ promptMessage ]}

chap 4 notes 28 - i return while Example Since i<=4 the...

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

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

Unformatted text preview: i++; } return ; } while Example Since i <=4, the condition is true, and the loop starts. i = 1...
View Full Document

{[ snackBarMessage ]}

Ask a homework question - tutors are online