I m unable to do anything in the question may i get ur contact number?

so that i can understand how to begin such problems , and whats the approach.

you can see this approach

these type of question can easily be solved by only for loops, you don’t have to think of some complex algo. I would recommend to try printing easy pattern first.

Thanks.

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.