// Lab 2 Practice 1 // There are a few things wrong with the program below. // Fix the syntax and logical errors. // Program will take two values from the user x and y. // The program will then print the square of x and y + 10 #include using namespace std; int main() { int x; int y; x * x = x; y += 10; cout << "Enter the value for X" << endl; cin << x; cout << "Enter the value for Y" << endl; cin << y; cout << "X squared = " << x << endl << "Y + 10 = " << y << endl; return 0; }