Output is not coming

how to post the question and solution of my code in ask doubt tab?actuallyin one of the code I am not getting correct output

@Tanushree use coding blocks online IDE. (https://ide.codingblocks.com/) login, write your code and click save , then copy the link and share it.
If this resolves your doubt mark it as resolved.

okay just a minute…thanks

I have saved my code in coding blocks ide but how to get the link now?

@Tanushree copy the link in search bar, after saving the code link should be something like this https://ide.codingblocks.com/s/116618 (number will be different)

okay I got it

what is the mistake in my code?

@Tanushree you have taken i for iteration in every for loop and that i is common to them all, so when the second for loop ends i is n, so when i is tested against t, test condition fails and loop stops.
Either use different variables for iteration or declare i in the for loop initialization.
If this resolves your doubt mark it as resolved.

okay I got it…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.