sqrt.m.c 213 B

12345678910111213
  1. #include <math.h>
  2. #include <stdio.h>
  3. int main(int argc, char** argv) {
  4. float x;
  5. printf("enter a float: ");
  6. fflush(stdin);
  7. scanf("%f", &x);
  8. printf("sqrt(x) = %f\n", sqrt(x));
  9. return 0;
  10. }