Main.cc: In function 'int main()': Main.cc:17:8: error: 'sum' was not declared in this scope sum += a[i]*b[i]; ^ Main.cc:20:13: error: 'sum' was not declared in this scope cout<