Can you take a look now at the code?
@kmrrohit Please save your code on ide.codingblocks.com and then share its link.