#include<stdio.h> #include<math.h> int main(){ int n; double res; scanf("%d",&n); res=pow(n,0.5); printf("%.3f",res); }
Double click to view unformatted code.