18 lines
316 B
C++
18 lines
316 B
C++
#include <iostream>
|
|
using namespace std;
|
|
|
|
int main(){
|
|
// bool has two values: true and false
|
|
bool isItTrue = (false == 0);
|
|
cout << isItTrue << endl;
|
|
|
|
//cout << "Is it...?(true/false): ";
|
|
//cin >> isItTrue;
|
|
|
|
if(isItTrue){
|
|
cout << "It is!" << endl;
|
|
}
|
|
else{
|
|
cout << "It ain't" << endl;
|
|
}
|
|
} |