fork(1) download
  1. #include <stdio.h>
  2. #include <math.h>
  3. int main(void) {
  4. // your code goes here
  5. double a,b;
  6. scanf("%lf",&a);
  7. b = sqrt(a);
  8. printf("a的平方根是%f",b);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0s 5320KB
stdin
6
stdout
a的平方根是2.449490