0_0_29581796_9315.cpp: In function 'int main()': 0_0_29581796_9315.cpp:15:14: error: expected initializer before '+=' token int ans+=b; ^ 0_0_29581796_9315.cpp:18:22: error: 'ans' was not declared in this scope printf("%d\n\n",ans); ^