User1453
14
Q:

c++ using boolean

bool isCodingFun = true;
bool isFishTasty = false;
cout << isCodingFun;  // Outputs 1 (true)
cout << isFishTasty;  // Outputs 0 (false)

//credit to w3schools.com
0

New to Communities?

Join the community