| 1 |
// File: fig0614.cpp |
| 2 |
// Computer Systems, Fourth Edition |
| 3 |
// Figure 6.14 |
| 4 |
|
| 5 |
#include <iostream> |
| 6 |
using namespace std; |
| 7 |
|
| 8 |
int main () { |
| 9 |
int j; |
| 10 |
for (j = 0; j < 3; j++) { |
| 11 |
cout << "j = " << j << endl; |
| 12 |
} |
| 13 |
cout << "j = " << j << endl; |
| 14 |
return 0; |
| 15 |
} |