C++
1. cout << "Enter two numbers that, of which one should be a \'7\', and the other number divisible by 9";
2. int a, b;
3. cin >> a;
4. cout << "\n";
5. cin >> b;
6.
7.
8. if ( ( ((a == 7) || (b==7)) && !(b==a && b==7) )
9. && (a%9 == 0 || b%9 == 0) )
10.
11.
12.
13. {cout << "woo";}
14.
15.
16. return 0;