The pattern for the previous doubt

the pattern is:

hello @aaliyah_beg wait i am giving you the correct code for this pattern .


please go through this code and let me know if you still face any issue .

Sir ,but what is the error in my code?

hello @aaliyah_beg as i can see you havenot shared any code above ?
could you please scroll up and confirm ?

code: https://ide.codingblocks.com/s/363734

hello @aaliyah_beg please the correct code below .
i have corrected the code and commented the mistake .


please go through the code and let me know if you don’t understand anything .
Happy Learning !!

Sir what do you mean by mentioned with the question , are you trying to say its different for different codes

hey @aaliyah_beg above there is your code which i have corrected .
you can see the errors in that .
what are you asking i didnt understand could you please elaborate ?

sorry sir that was a doubt in continuation to a different thread.