- #1
ineedhelpnow
- 651
- 0
Boolean refers to a quantity that has only two possible values, true or false.
The language has the built-in data type bool for representing Boolean quantities.
thats what my book says. i don't really understand the purpose. here's a passage from my book:
what is bool for? what does it do?
The language has the built-in data type bool for representing Boolean quantities.
thats what my book says. i don't really understand the purpose. here's a passage from my book:
Code:
int main() {
bool isLarge = false;
bool isNeg = false;
int userNum = 0;
what is bool for? what does it do?
Last edited: