/* scope1.cpp * CS401 - Intro to Comp Sci * */ #include #include #include using namespace std; int i = 1; int main() { int y = 10; cout << "i = " << i << endl; cout << "y = " << y << endl; if (y < 20) { i++; y++; } cout << "i = " << i << endl; cout << "y = " << y << endl; getch(); }