Pattern with zeros

can someone guide me what should be my next step in order to solve this prob??
https://hack.codingblocks.com/contests/c/474/163

https://ide.codingblocks.com/#/s/13574

if you want hint then try if loop in count loop and you dont need to approach by value variable.If you want the complete solution,i will post it.
for( ;count<=row;count++){
if(count==1){
cout<<row<<" “;
}
if(count==row){
cout<<row<<” ";
break;
}
This much hint is enough.If you need more help or complete solution ask it.

thank you aman but if you could post the solution that might help since i am not getting the required output