#include using namespace std; int main() { int a{23}, b{3}, c; cout << endl; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a + b; " << endl; c = a + b; cout << "AFTER: a = " << a << endl; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a - b; " << endl; c = a - b; cout << "AFTER: a = " << a << endl; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a * b; " << endl; c = a * b; cout << "AFTER: a = " << a << endl; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a / b; " << endl; c = a / b; cout << "AFTER: a = " << a << endl; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a % b; " << endl; c = a % b; cout << "AFTER: a = " << a << endl; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; c = a; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c += b; " << endl; c += b; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; c = a; cout << "BEFORE: b = " << b << endl; cout << "BEFORE: c = " << c << endl; cout << "c %= b; " << endl; c %= b; cout << "AFTER: b = " << b << endl; cout << "AFTER: c = " << c << endl; cout << endl; c = 0; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: c = " << c << endl; cout << "c = a++; " << endl; c = a++; cout << "AFTER: a = " << a << endl; cout << "AFTER: c = " << c << endl; cout << endl; c = 0; cout << "BEFORE: a = " << a << endl; cout << "BEFORE: c = " << c << endl; cout << "c = ++a; " << endl; c = ++a; cout << "AFTER: a = " << a << endl; cout << "AFTER: c = " << c << endl; return 0; }