in case of input 25,2 why the square root comes as 5 and not as 5.00 automatically.
Precision in calculating square root of perfect number
@Himanshu-Sajwan-2271264282963988 hey himanshu this is perfect square and in this program bhaiya used printf for precision cout eliminate zero
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.