Problem in pattern

I am facing problem in proceeding further while printing this pattern. Could you please help me how to run the last loop for printing the decreasing numbers. And, yes I know that we have to print space but just to see that my program is working correctly till here I have printed * .

Here is my code:

Hey @yashsharma4304

        for(int i=row; i>=1;i--){     //for printing decreasing numbers in a row
            if(i==n)continue;
			cout<<i<<"\t";
		}

If this resolves your query then please mark it as resolved :slight_smile:

1 Like