Main.c: In function 'main':
Main.c:6:9: error: 'sun' undeclared (first use in this function); did you mean 'sum'?
6 | sun+=i;
| ^~~
| sum
Main.c:6:9: note: each undeclared identifier is reported only once for each function it appears in
Main.c:9:5: error: expected declaration or statement at end of input
9 | return 0;
| ^~~~~~