Untitled
Anonymous
c_cpp
11/24/2023 4:44 PM
216 B
19
Indexable
#include <iostream>
using namespace std;
int main()
{
float a, b, c, k = 0;
cin >> a >> c;
b = sqrt(c * c - a * a);
k = 0.5 * b * a;
cout << k;
}Editor is loading...
Leave a Comment