If i put dd as the input, the answer comes out to be hf.
9/7/2019 8:39:18 AM
No Manas. Your code is bug free. Just input your elements in this format.
Your answer will be 4.
There's nothing wrong with your code.
It is working fine. U might be giving wrong input.
To debug, print the x value after you give the input.
Learn Playing. Play Learning
Send us a message