• + 1 comment

    can you explain me how the while condition always satisfy i think somewhere it does not satisfy but then also it goes in while loop. But your solution is best.