Untitled

 avatar
unknown
c_cpp
2 years ago
161 B
4
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