Unwanted space between upper and lower halves of output

The solution I wrote for this problem is

#include
using namespace std;
int main(){
int n;
cin>>n;
int count=n;
for(int i=-1;i<n-2;i++){
for(int j=0;j<=2*(n-1);j++){
if((n-(i+1))<=j&&j<=(n+(i-1))){
cout<<" “;
}
else{
cout<<”*";
}
}
cout<<endl;

}
for(int i=0;i<=n+1;i++){
for(int j=1;j<2*n;j++){
if(n-count<=j&&j<=n+count){
cout<<" ";

        }
        else{
            cout<<"*";
        }
    }
    cout<<endl;
    count=count-1;

}
}

Im not getting the desired output

hi @f20201011 are u making diamond or rhombus?

@f20201011 refer this ive commented

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.

I’m trying to make the diamond pattern