here is my code, why is it wrong?
#include <bits/stdc++.h>
using namespace std;
int main(){
int n,i,j;
cin>>n;
for(i=0;i<n;i++){
for(j=0;j<n;j++){
if(j==0 || j==n-1 || i==0 || i==n-1||(i==1 && j==1)||(i==1 && j==n-2)||(i==n-2 && j==1)||(i==n-2 && j==n-2)){cout<<’*’;}
cout<<’\t’;
}
cout<<’\n’;
}
}