Run id: 76896

Main.cc: In function 'int main()':
Main.cc:15:6: error: expected primary-expression before '/' token
     */
      ^
Main.cc:16:5: error: expected primary-expression before 'int'
     int i,sum=0,j,l;
     ^
Main.cc:17:9: error: 'j' was not declared in this scope
     for(j=1;j<=1000;j++){
         ^
Main.cc:18:14: error: 'i' was not declared in this scope
         cin>>i;
              ^
Main.cc:19:9: error: 'sum' was not declared in this scope
         sum+=i;
         ^
Main.cc:24:23: error: 'j' was not declared in this scope
     printf("%d %.2lf",j,sum*1.0/j);
                       ^
Main.cc:24:25: error: 'sum' was not declared in this scope
     printf("%d %.2lf",j,sum*1.0/j);
                         ^