123456789101112131415161718
#include<iostream> using namespace std; int main() { int a=20,b=9,c=12; int ans1,ans2; ans1=++a + ++a - c-- - --c; ans2=((++b - --b)%4) + a++ + ++c; cout<<"Ans1:"<<ans1<<endl; cout<<"Ans2:"<<ans2<<endl; system("pause"); return 0; }