Problem in printing numbers

I had made the pattern but instead of numbers(1 232 34543) , I had printed it with another symbol, please make changes inm y code for printing number pattern, it would be a great help.I understood the basic pattern like from the middle number it is decreasing and increasing …but having difficulty in writing code.

hello @aatmictiwari19 i have corrected your code please see and try to understand if you have any confusion in any line .


Happy Learning !!

Actually yes this is fine but I didn’t ask this one.This is the code that I asked for:

                        1 
                     2 3 2
                   3 4 5 4 3
                 4 5 6 7 6 5 4

Thanks in advance

@aatmictiwari19 try this https://ide.codingblocks.com/s/353256 .
if you feel that your doubt is cleared please mark this doubt as resolved .
Happy Learning !!