Розв’язок задачі з Абрамова №47
Жов 05
Жов 05
#include#include #include using namespace std; //hutin puilo! int main(int argc, char **argv) { float x, y, z; cout << "x = " ; cin >> x; cout << "y = " ; cin >> y; cout << "z = " ; cin >> z; if ((x + y > z) && (x + z > y) && (y + z > x)) { if ((x * x + y * y > z * z) && (x * x + z * z > y * y) && (z * z + y * y > x * x)) { cout << "Triangle je hostrouholnym."; } else { cout << "Triangle ne je hostrouholnym."; } } else { cout << "Triangle do not exist and hutip puilo."; } //Glory to Ukraine return 0; }
abramov.org.ua © 2012-2020. Решебник абрамова, решение задач, решение задач з абрамова, решение абрамова. Усі права захищено.