Заданы a, x, y. Вычислите S=| a | + x+ y 2
//Pascal var a, x, y: Real; begin readln(a, x, y); writeln(abs(a) + x + sqr(y)); end.
/* C++ */ #include #include using namespace std; int main() { int a, x, y, s; cin >> a >> x >> y; s = abs(a) + x + pow(y, 2); cout << s;<br>return 0; }