Computer Science, asked by hansuga, 1 year ago

where are boolean value used

Answers

Answered by SWAYAMKUSHWAHA
2
ANS.In computer science, the Boolean data type is a data type that has one of two possible values (usually denoted true and false), 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.
Answered by Akhileshsah
2
Boolean values are used in control structures such as the if statement. All primitives that require a Boolean value as an input will also accept a numeric or text value. The number zero is converted to the Boolean value false and all other numbers are converted to true.
Similar questions