Untitled
unknown
plain_text
2 years ago
265 B
3
Indexable
#include <iostream> #include <cmath> using namespace std; int main() { int a, b, c; cin >> a >> b; int c2 = a * a + b * b; c = sqrt(c2); int s = (b + c) / 2; cout << "Dlina vtorogo kateta - " << c << endl; cout << "Ploshad - " << s; }
Editor is loading...
Leave a Comment