i am not able to understand how to print like it
Not able to get pefect logic
Hi @Rohan_singla
In this question first of all see the nsp=n-1 then take a variable value=1.Now make the loop that while(row<=n) until then see that in every row number of columns are 2row-1 so in that make a loop which works 2row-1 times and then try to print that pattern using variable value inside that loop.
Hi @Rohan_singla as you are not responding to the thread, I am marking your doubt as resolved for now. Re-open it if required.
Please mark your doubts as resolved in your course’s “Ask Doubt” section, when your doubt is resolved.
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.