0_0_39623390_28943.cpp: In function 'int main()': 0_0_39623390_28943.cpp:7:23: error: expected ';' before 'sum' 7 | scanf("%d",&n) | ^ | ; 8 | sum=0; | ~~~