What is error in this...1tc is failed

please answer to this

Anshul, pls refer to this changed code… The logic need to be different from the one you have implemented in your code as :