Define and use bool value
#include <iostream> using namespace std; int main() { bool outcome; outcome = false; if(outcome) cout << "true"; else cout << "false"; return 0; }