0

Problem with for loop

For some reason, every time I compile my program, it shows error with the for loop. What could be the reason? https://code.sololearn.com/cy8foTh03ovP/?ref=app

1st Feb 2018, 10:33 AM
potato
potato - avatar
6 ответов
+ 3
First start to indent code in leggible format and use valid space chars https://code.sololearn.com/cXwn8OQTHFTv
1st Feb 2018, 11:18 AM
KrOW
KrOW - avatar
+ 21
Here, I removed those chars. But, still there are many errors. But, I'm not good enough in c++ to debug them. https://code.sololearn.com/cQf5Qp9tq1TX/?ref=app
1st Feb 2018, 11:09 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 19
Your code has non-breaking space. It will look like normal space but for a compiler, it is an illegal character. Wait. let me try something.
1st Feb 2018, 11:02 AM
Swapnil Srivastava
Swapnil Srivastava - avatar
+ 8
Where's your code? link your code with your question so people can see it, then offer suggestions, or help. Without the code it's rather hard to understand what you mean : )
1st Feb 2018, 10:51 AM
Ipang
+ 2
code???
1st Feb 2018, 10:44 AM
KrOW
KrOW - avatar
+ 1
@Ipang @KrOW inserted it
1st Feb 2018, 10:56 AM
potato
potato - avatar