Untitled

в 2 строчки
mail@pastecode.io avatar
unknown
c_cpp
7 months ago
270 B
0
Indexable
Never
#include <iostream>
using namespace std; int main(){setlocale(LC_ALL, "russian");int a=0;int b=0;int c=0;cout << "введите гипотенузу\n";cin >> a;cout << "введите какет\n";cin >> a;int c2 = a * a + b * b;c = sqrt(c2);cout<<float((a*c)*0.5);}
Leave a Comment