+ 1

Why is this code not giving any output ??

https://code.sololearn.com/cTewbOF9aeI1/?ref=app

25th Jul 2020, 8:26 AM
JdCodes
JdCodes - avatar
7 odpowiedzi
25th Jul 2020, 9:06 AM
JdCodes
JdCodes - avatar
+ 1
TheWh¡teCat 🇧🇬 If input is abc then output will be zyx.
25th Jul 2020, 8:40 AM
JdCodes
JdCodes - avatar
+ 1
~ swim ~ , what's the solution. Please help bro.
25th Jul 2020, 8:57 AM
JdCodes
JdCodes - avatar
+ 1
TheWh¡teCat 🇧🇬 , It doesn't give correct output for 'abd'. It must give 'zyw'.
25th Jul 2020, 9:02 AM
JdCodes
JdCodes - avatar
+ 1
~ swim ~ , don't you think code would get lengthier??
25th Jul 2020, 9:03 AM
JdCodes
JdCodes - avatar
0
Jagrat , what output should give the program? What is the purpose of your code?
25th Jul 2020, 8:39 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar
0
Jagrat , look at the correct code. Hope it helps you. https://code.sololearn.com/cwMkZrzwXXHg/?ref=app
25th Jul 2020, 8:59 AM
TheWh¡teCat 🇧🇬
TheWh¡teCat 🇧🇬 - avatar