Answers for "how to print with the bool value in cpp"

C++
0

how to print with the bool value in cpp

#include <iostream>
#include <iomanip>

int main() {
    std::cout<<false<<"\n";
    std::cout << std::boolalpha;   
    std::cout<<false<<"\n";
    return 0;
}
Posted by: Guest on June-14-2021

Code answers related to "how to print with the bool value in cpp"

Browse Popular Code Answers by Language