Test case 3 not passing

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

return 0;

}

test case 3 not passing rest are passing

@fk2224542 please save your code on ide.codingblocks.com and share the link here

@fk2224542 no output for n = 1

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.