Pattern numbers and stars-1

https://ide.codingblocks.com/#/s/23449
what should be the next approach to print small triangle which is left to be printed?
https://hack.codingblocks.com/contests/c/255/625
Question link

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

I have made changes in your code.
Please refer to it.

your code is able to pass only one test case
not passing other two test cases .why its not able to pass?

Hey u can check this solution: https://ide.codingblocks.com/#/s/23176

1 Like

https://ide.codingblocks.com/#/s/23596
Yes, it was not saved earlier.
This works fine.