i can't understand boolean concept | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i can't understand boolean concept

please describe it narrowly.

22nd Jun 2016, 5:53 PM
Devi Hota
7 Answers
+ 2
A boolean (from the 19th century mathematician George Bool) is a type in C++ and pretty much all other programming languages that represents if something is logically true or false. A boolean in C++ can only assume these two values "true" / 1 or "false" / 0 and is usually the result of logical operators like &&, || etc.
22nd Jun 2016, 6:52 PM
Stefan
Stefan - avatar
+ 2
thank u so much
29th Jun 2016, 2:30 PM
Devi Hota
+ 1
thanks
22nd Jun 2016, 6:57 PM
Devi Hota
+ 1
I also will advise you to please study all the operations we have in python and even in other programming languages very well in a very relaxed mood so that you can understand them better.
29th Jun 2016, 2:27 PM
Salau Ibrahim Babatunde
Salau Ibrahim Babatunde - avatar
+ 1
to check a statement is boolean or not,see if it's answer is true or false.If answer of statement is "True" or "False" it is boolean statement otherwise not.
10th Jul 2016, 5:10 AM
pranav
pranav - avatar
0
My pleasure :-) If you want me to extend on my answer just say so.
22nd Jun 2016, 7:08 PM
Stefan
Stefan - avatar
0
AND, OR and... NOT
22nd Jun 2016, 7:47 PM
fanuel esikuri
fanuel esikuri - avatar