my code works fine in onlinegdb but not in codeblocks....
i can send the code to you to checkemail me at [email protected]