Задача 1.
#include <iostream>
using namespace std;
int main() {
double a,b,c;
cin 》a;
cin 》b;
cin 》c;
cout ((c>(a+b)/2)&&(c-b<a));
return 0;
}
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Задача 1.
#include <iostream>
using namespace std;
int main() {
double a,b,c;
cin 》a;
cin 》b;
cin 》c;
cout ((c>(a+b)/2)&&(c-b<a));
return 0;
}