#include using namespace std; float square_root(int a,int p){ int s=0; int e=a; float ans=-1; int mid; while(s<=e){ mid=(s+e)/2; if (mid*mid==a) return mid; else if(mid*mid>n; cout<