fork download
  1. #include <stdio.h>
  2. #include <math.h>
  3.  
  4. int main(void) {
  5. double a = 2;
  6. double b;
  7.  
  8. b=sqrt(a);
  9.  
  10. printf("b=%lf\n",b);
  11.  
  12. return 0;
  13. }
  14.  
Success #stdin #stdout 0s 5280KB
stdin
Standard input is empty
stdout
b=1.414214