Can u fix this..

https://code.sololearn.com/cD5Y761SNnmX/?ref=app If i put dd as the input, the answer comes out to be hf.

9/7/2019 8:39:18 AM


2 Answers

New Answer


No Manas. Your code is bug free. Just input your elements in this format. dd 2 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.