Main.cc: In function 'int main()':
Main.cc:5:26: warning: operation on 'i' may be undefined [-Wsequence-point]
for(int i=1;i<=10;i=i++){
^
Main.cc:6:11: error: 'b' was not declared in this scope
n=b/2
^