what is the issue with this code?
#include
using namespace std;
int main(){
// To find sqrt of a number
int number, start=0,i=0,p;
cout<<"Enter the no to find sqrt with precision ";
cin >>number>>p;
// to find the whole number
int div=1;
while(i<p){
while(start*start<=number){
start=start+div;
}
start=start-div;
div=div/10;
}
cout<<start;
i=i+1;
}