+ 2

[SOLVED] Need help to find the error.

https://code.sololearn.com/cweTji2REm4f/?ref=app The error message is so implicit. I can't understand what's wrong with my code. Your help will be appreciated so much.

2nd Feb 2020, 4:51 PM
Abdul S Ansari
Abdul S Ansari - avatar
3 Answers
+ 4
Remove that 'i' on the second line. Also your encrypt() has a return type String but it does not return anything.
2nd Feb 2020, 4:58 PM
Avinesh
Avinesh - avatar
+ 2
Avinesh Ah, such a simple blunder. And I was beating my head over this. Thank you
2nd Feb 2020, 5:22 PM
Abdul S Ansari
Abdul S Ansari - avatar
+ 2
Abdul Samad It's common.
2nd Feb 2020, 5:34 PM
Avinesh
Avinesh - avatar