Computer Science, asked by karun8602, 1 year ago

What do you understand by boolean type data? explain with an example?

Answers

Answered by adityadaga2
8

Boolean is a value. Either true(1) or false(0).

if equation is true, it will return true/1 . Otherwise it will return false/0

=============================================================

Ex: 20 mod 2 == 0

Ans : 1    ...(that is, it is true)

EX: 20 mod 3 == 0

Ans: 0   ...(that is ,it is false)

===========================================================

Answered by ajaymadhusingh4
4

Boolean literal stores a Boolean value that is either true or false and with in quotes

if the answer help ^_^

please follow up me

Similar questions