getting some error for only one case not able to find it check my code given https://ide.codingblocks.com/s/264844