Answers for "boolean meaning"

9

what is a Boolean

Boolean refers to a system of logical thought that is used to create true/false
statements. A Boolean value expresses a truth value
(which can be either true or false). Boolean logic was developed by
George Boole, an English mathematician and philosopher, and has become the
basis of modern digital computer logic.
Posted by: Guest on December-05-2020
1

boolean

In computer science, the Boolean data type is a data type that has one of two possible values which is intended to represent the two truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid 19th century.
Posted by: Guest on November-21-2020
0

boolean meaning

while (tries < 4) {
    cout << "Do you want to proceed (y or n)?\n";
    char answer = 0;
    cin >>answer;
    switch (answer) {
    case 'y':
    return true;
    case 'n':
    return false;
    default:
    cout << "Sorry, I don't undersand that.\n";
        ++tries;
        }
Posted by: Guest on November-29-2020

Browse Popular Code Answers by Language