0

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.

7th Sep 2019, 8:39 AM
Manas
Manas - avatar
2 Respostas
+ 7
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.
7th Sep 2019, 8:50 AM
Jella
Jella - avatar
+ 3
It is working fine. U might be giving wrong input. To debug, print the x value after you give the input.
7th Sep 2019, 8:49 AM
Kuri
Kuri - avatar