#include<iostream>
using namespace std;
int main()
{
//+=
int a = 10;
a += 2; //a=a+2
cout << "输出a=" << a << endl;
//-=
a -= 10; //a=a-2
cout << "输出a=" << a << endl;
//*=
a = 10;
a *= 2; //a=a*2
cout << "输出a=" << a << endl;
a = 10;
a /= 10;
cout << "a=" << a << endl;
a = 10;
a %= 2;
cout << a << endl;
system("pause");
return 0;
}