Code: https://ide.codingblocks.com/s/206987
The code is giving correct answer for only one case, why so?
Code: https://ide.codingblocks.com/s/206987
The code is giving correct answer for only one case, why so?
I have edited your code… Try to submit it now…