# include # include using namespace std; int main ( ) // // FORMULA2.CPP // // This program is the same as FORMULA.CPP, but now the variable Y // does not have a value when we try to use it to compute Z. // // { int x = 12; int y; int z; z = x + 42 * y; cout << "Enter the value of y: "; cin >> y; cout << "x = " << x << "\n"; cout << "y = " << y << "\n"; cout << "z = " << z << " = " << x << " + 42 * " << y << "\n"; }