Loops square root

as in the printf statement for precision of float value we use .2f upto 2 decimal places, is there any similar way for precision in cout statement.

@hrishikeshjanjal hey go to this http://www.cplusplus.com/reference/iomanip/setprecision/

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.