ПОМООИЕТЕТТЕТЕ ЕТЕ ААААА
Ответы
#include <iostream>
#include <cmath>
using namespace std;
void solve1(){
double a, b;
cin >> a >> b;
(a < 0 && b < 0) ? cout << a + b : cout << "At least one number is non-negative\n";
}
void solve2(){
double a, b;
cin >> a >> b;
(a > 0 && b > 0) ? cout << a * b : cout << "At least one number is non-positive\n";
}
void solve3(){
const double EXP = 1e-7;
double a, b;
cin >> a >> b;
(abs(a - b) > EXP) ? cout << "yes" : cout << "Numbers are equal\n";
}
void solve4(){
const double EXP = 1e-7;
double a, b;
cin >> a >> b;
(abs(a - b) <= EXP) ? cout << pow(a, 5) << " " << pow(b, 5) : cout << "Numbers are not equal\n";
}
int main(){
//solve1(); // task1
//solve2(); // task2
//solve3(); // task3
//solve4(); // task4
}