#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
double fac(double a,double b)
{
return sqrt(a*a+b*b);
}
int main()
{
int i = 0;
double a,b,c;
for(; i<5; i++)
{
printf("Enter the sides of the triangle: \n");
scanf("%lf%lf",&a,&b);
c = fac(a,b);
printf("Hypotenuse: %.2f\n",c);
}
return 0;
}