Error in this program


can you just comment on the errors in this program

hello @sraj39273

pls dry run ur code. for n = 5.

its not even closer to what is asked to print.

i first want to print for input 5
5 5
5 4. 4 5
5 4 3 3 4 5
5 4 3 2. 2 3 4 5
5 4 3 2 1. 1 2 3 4 5
5 4 3 2 1 0 1 2 3 4 5
and then i will try to find what is asked in the question

sorry its little bit wrong i mean i like to first print it until row=n+1
and then for the rest

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.