#include <iostream>
using namespace std;
int main()
{
int x, y;
cout << "enter x: ";
cin >> x;
if (x > 0)
y = x - 12;
cout << y << endl;
}
else if (x == 0)
y = 5;
else
y = x * x;
#include <iostream>
using namespace std;
int main()
{
int x, y;
cout << "enter x: ";
cin >> x;
if (x > 0)
{
y = x - 12;
cout << y << endl;
}
else if (x == 0)
{
y = 5;
cout << y << endl;
}
else
{
y = x * x;
cout << y << endl;
}
}