#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <math.h>
int main()
{
float a, b ,c, d;
scanf("%f %f", &a, &b);
d = a * a + b * b;
c = sqrt(d);
printf("%.5f", c);
return 0;
}
1004: 直角三角形求斜边
最新推荐文章于 2024-05-18 16:18:30 发布