using System;
public double calcularhipot(double catetooposto, double catetoadjacente)
{
double h = (catetooposto * catetooposto) + (catetoadjacente * catetoadjacente);
double hipo = Math.Round(Math.Sqrt(h),1);
return hipo;
}
double H = calcularhipot(6 , 8);
H