My code works for row=4 and col=7. How to generalize my code for n inputs
@karanmiglani129 please save your code on ide.codingblocks.com and share the link