Take N (number of rows), print the following pattern (for N = 5)
1
2 2
3 0 3
4 0 0 4
5 0 0 0 5
my code is https://ide.codingblocks.com/s/379387
Take N (number of rows), print the following pattern (for N = 5) i am getting correct output but my testcase is wrong help me out
Here’s your debugged code, issue was with
'\t' ( line number 16 & 20) & endl (line number 13)
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.