can someone tell me what am i doing wrong, i want to get out of the loop when the input is 0. But even when im giving the input 0 its not getting out of the loop
you would need to `break` out of the loop