c语言课题;输入2个整数,计算它们的平方根之和,并输出结果.(要求结果保留2位小数) 急急急在线等
#include <stdio.h>
#include <math.h>
int main()
{
int a,b;
scanf("%d%d",&a,&b);
printf("%.2f\n",sqrt(a)+sqrt(b));
return 0;
}