Untitled
в 2 строчкиunknown
c_cpp
2 years ago
270 B
2
Indexable
#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);}
Editor is loading...
Leave a Comment