#include using namespace std; // illustrates scope int main() { int first = 4; int second = 0; while (first < 10) { int second = first * 2; // shadows main's second cout << "\t" << "second = " << second << endl; first *= 2; if (first > 10) { int first = second; // shadows main's first first = first/10; cout << "\t" << "first = " << first << endl; } cout << "first = " << first << endl; } cout << "second = " << second << endl; return 0; }