Code not working
@lakshit
your code is working now, you can have a look https://ide.codingblocks.com/s/253543
please from next time provide the code after indentation, it took me time to first indent then understand your code, because without indent, it is difficult to understand other people’s code.