Getting tle (EN123)

What is wrong in this code
CodeChef: Practical coding for everyone

Please either format your code or link to your submission - the forum software has mangled it and it won’t compile! :slight_smile:

sum+=x not sum=+x…

2 Likes

Brother in line 15:
write sum+=x; instead of sum=+x;

1 Like