Run id: 109435

Main.cc: In function 'int main()':
Main.cc:5:21: error: expected initializer before '.' token
         double n,ave.total=0;
                     ^
Main.cc:10:17: error: 'total' was not declared in this scope
                 total=total+n;
                 ^
Main.cc:14:9: error: 'ave' was not declared in this scope
         ave=total/i
         ^
Main.cc:14:13: error: 'total' was not declared in this scope
         ave=total/i
             ^