1.源码
#include<stdio.h>
#include<math.h>
int main()
{
double x;
scanf("%lf", &x);
printf("The square root of %.1lf is %.1lf", x, sqrt(x));
return 0;
}
#include<stdio.h>
#include<math.h>
int main()
{
double x;
scanf("%lf", &x);
printf("The square root of %.1lf is %.1lf", x, sqrt(x));
return 0;
}