#include<iostream>
#include<cmath>
#include<fstream>
usingnamespace std;
int main()
{
double a,b,c;
double area;
double s;
char repeat ;
cout << "Enter side a of your tirangle: ";
cin >> a;
cout << "Enter side b of your trialgle: ";
cin >> b;
cout << "Enter side c of your triangle: ";
cin >> c;
s = (a + b + c)/2;
area = sqrt(s*(s-a)*(s-b)*(s-c));
cout <<" Semiperimeter: " << s << endl;
cout << " Area: " << area << endl;
if(pow(c,2)= pow(a,2)+pow(b,2))
cout << " Your triangle is a right triangle"<< endl;
else
cout <<"Your triangle is not a right triangle"<< endl;