#include <stdio.h>
#include <math.h>

int main() {

    int a, b;
    double c;

    printf("enter the two legs of your right triangle.\n");
    scanf("%d%d", &a, &b);

    c = sqrt(pow(a,2) + pow(b,2));

    printf("The hypotenuse is %.2lf\n", c);
    return 0;
}
