// not.cpp // Test program showing simple short circuit logical // expression // 1/28/03, Ray S. Babcock // #include using namespace std; int main(void) { int x(15); if ( x < 12 ) ; else cout << "hi!" << endl; if ( ! (x < 12) ) cout << "hi!" << endl; if ( x >= 12 ) cout << "hi!" << endl; }