Ответ:
#include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x < 0) {
if (x > y){
cout << x << endl;
} else{
cout << y << endl;
}
}else {
}else{
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <iostream>
using namespace std;
int main() {
int x, y;
cin >> x >> y;
if (x < 0) {
if (x > y){
cout << x << endl;
} else{
cout << y << endl;
}
}else {
if (x > y){
cout << y << endl;
}else{
cout << x << endl;
}
}
}