Help in this code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Help in this code

I am not able to figure what is the problem in this code. It is a progran for string compression. https://code.sololearn.com/cH9D2HEly0rr/?ref=app

23rd Mar 2018, 6:58 AM
Shubh Agrawal
Shubh Agrawal - avatar
3 Answers
+ 1
line no. 12 it should be \0 not o line no. 15 you should use 'if' instead of 'while' and you need to work on the if statement and for loop
23rd Mar 2018, 7:04 AM
‎ ‏‏‎Anonymous Guy
0
I made the corrections but still not working . 😓
23rd Mar 2018, 7:10 AM
Shubh Agrawal
Shubh Agrawal - avatar
0
sorry i misguided you earlier i thought it was a different program this is the corrected one, although its not perfect but it does the job pretty well. if you have any trouble understanding the correction, you can ask me https://code.sololearn.com/c3FVkdQyumel/?ref=app
23rd Mar 2018, 7:36 AM
‎ ‏‏‎Anonymous Guy