0
i can't understand boolean concept
please describe it narrowly.
7 Réponses
+ 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.
+ 2
thank u so much
+ 1
thanks
+ 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.
+ 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.
0
My pleasure :-)
If you want me to extend on my answer just say so.
0
AND, OR and... NOT