Run id: 143995

Main.cc: In function 'int main()':
Main.cc:7:25: warning: format '%lf' expects argument of type 'double*', but argument 2 has type 'double' [-Wformat=]
         scanf("%lf",a[i]);
                         ^
Main.cc:13:9: error: expected '}' at end of input
 return 0; 
         ^
Main.cc:7:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         scanf("%lf",a[i]);
                          ^