Main.cc: In function 'int main()':
Main.cc:4:7: error: expected ';' before 'a'
cout a,b;
^
Main.cc:4:10: warning: statement has no effect [-Wunused-value]
cout a,b;
^
Main.cc:5:12: error: 'a' was not declared in this scope
for(int i=a,s=0,x=0;i<=b;i++){
^
Main.cc:5:25: error: 'b' was not declared in this scope
for(int i=a,s=0,x=0;i<=b;i++){
^
Main.cc:7:4: error: 's' was not declared in this scope
s+=i;
^
Main.cc:10:4: error: 'x' was not declared in this scope
x+=i;
^