Ответ:
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if(x >= 100 && x <= 500) {
cout << "Hello" << "\n";
}
else if(x >= -500 && x <= -100) {
cout << "World" << "\n";
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Ответ:
#include <bits/stdc++.h>
using namespace std;
int main() {
int x;
cin >> x;
if(x >= 100 && x <= 500) {
cout << "Hello" << "\n";
}
else if(x >= -500 && x <= -100) {
cout << "World" << "\n";
}
}