#include <iostream>using namespace std;int main () { int X = 0; X = 7 + 3 * 6 / 2 - 1; cout << "X = 7+3*6/2-1 = " << X << endl; X = 2 % 2 + 2 * 2 - 2 / 2; cout << "X = 2%2+2*2-2/2 = " << X << endl; X=(3*9*(3+(9*3/(3)))); cout << "X = (3*9*(3+(9*3/(3)))) = " << X << endl; return 0;}
Comments