i am not able to print the left side of the pattern as per specified in the question.
Mountain pattern hackers block
https://ide.codingblocks.com/s/100213 - this is the url of the code . please tell me how to correctly code the left side of the mountain pattern as per specified in the question.
@Ayushi21
Your approach and your code is entirely correct.
Just add a space after j in line no 9.
That is , make it like
cout<<j << " ";
okh thanks . now my code is running successfully