Ask your own question, for FREE!
Computer Science 13 Online
OpenStudy (anonymous):

What is Boolean function

OpenStudy (e.mccormick):

Boolean things deal with bits: 0 and 1 or false and true.

OpenStudy (mandre):

A simple definition would be: a function which returns either TRUE or FALSE or 1 or 0 depending on the language. C++ returns 1 or 0. #include <iostream> using namespace std; bool Equal (int num1, int num2) { return (num1 == num2); } int main() { cout << Equal(5, 7) << endl; cout << Equal(5, 5) << endl; return 0; } If you run this program the output will be: 0 1

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!