Created
February 13, 2009 23:36
-
-
Save scooby/64167 to your computer and use it in GitHub Desktop.
turns out false < true
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(void) { | |
if(false < true) | |
cout << "False is less than true." << endl; | |
if(false > true) | |
cout << "False is greater than true." << endl; | |
if(true < false) | |
cout << "True is less than false." << endl; | |
if(true > false) | |
cout << "True is greater than false." << endl; | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment