The code seems fine but the answer is wrong, what am i doing wrong?
Save your code on ide.codingblocks.com and share its link.
Checkā¦