What is the problem with my program?

#include
using namespace std;
int main()
{
int n;
cin>>n;
int col=1;
int row=1;
if (n%2==0)
{
cout<<“1”;
while(col=row-2)
cout<<“0”;
col=col+1;
}
else
{
while(n%2!=0)
cout<<“1”;
}
return 0;
}

@Anku47 bro check the video for the code your is completely wrong
where is the loop for iterating over rows and you are not doing increment in while loop too