1 2 3
float a; cin>>a; out<<sqrt(a);
1 2 3 4 5 6 7
#include<math.h> . . . float a; cin>>a; out<<sqrt(a);