Pattern Mountain

hi mystix
u have done many mistakes

  1. properly intend ur code otherwise it became a mess and debuging is very difficult
  2. if u have a decreasing for loop then like k-- and u have done k++
  3. try to generate mathemitical pattern annd first dry run

check this

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.