Main.cc: In function 'int main()':
Main.cc:10:5: error: expected initializer before 's'
s=0;
^
Main.cc:12:5: error: 's' was not declared in this scope
s=6+(10-2)*1.8+(m-10)*1.8*1.5;
^
Main.cc:16:9: error: 's' was not declared in this scope
s=6+(m-2)*1.8;
^
Main.cc:19:9: error: 's' was not declared in this scope
s=6;
^