#include <iostream> #include <string> using namespace std; int foo(int y) { int x = 3; return y*x; } int main() { int x = 4; cout << "here is an x: " << x << endl; { int y = 5; { int x = y; cout << "here is another x: " << x << endl; } int x = 6; cout << "WHY ON EARTH WOULD YOU DO THIS??" << foo(x) << endl; } char ch; cin >> ch; return 0; }Back to top