Задание № 109

Run Settings
LanguageC++
Language Version
Run Command
#include <iostream> #include <cmath> using namespace std; int main() { int a,b,c,x,C; cout << "Введите длины сторон треугольника и нажмите Enter\n"; cin>>a>>b>>c>>C; if (pow(c,2) == (pow(a,2)+pow(b,2))) { cout << "Треуголник - прямоугольный"<<endl; } else { C == acos(pow(c,2)-pow(a,2)-pow(b,2)/2*a*b); } cout << C << endl; return 0; }
Editor Settings
Theme
Key bindings
Full width
Lines