#include<stdio.h> #include<math.h> int main() { double x; scanf("%lf", &x); printf("%.3f", sqrt(x)); return 0; }
Double click to view unformatted code.