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. printf("b = %lf", b);
  10.  
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 5272KB
stdin
Standard input is empty
stdout
b = 1.414214