Code doesn't print the answer

The final value of t will be zero. So, loop for print will not run. Now, try to solve.

ankit bhaiya nahi ho raha hai


I have made changes in your code.