c++ bool(false) code example
Example 1: c++ using boolean
bool isCodingFun = true;
bool isFishTasty = false;
cout << isCodingFun; // Outputs 1 (true)
cout << isFishTasty; // Outputs 0 (false)
//credit to w3schools.com
Example 2: how to initialize a boolean in c++
bool b1 = true; // declaring a boolean variable with true value