Selections in C++: The bool Data Type
The bool data type declares a variable with the value either true or false. How do you compare two values, such as whether a radius is greater than 0, equal to 0, or less than 0? C++ provides six relational operators, shown in Table 3.1, which can be used to compare two values (assume radius [ [ ...]