wes d2a2ba9e15 first commit il y a 4 ans
..
README.md d2a2ba9e15 first commit il y a 4 ans
code.cpp d2a2ba9e15 first commit il y a 4 ans
unitTest.cpp d2a2ba9e15 first commit il y a 4 ans

README.md

Flip the int Boolean

by CppPythonDude tags: logic, language_fundamentals

Summary

An int boolean is same as a normal boolean, just 1 = true and 0 = false. Make a function that returns an int boolean opposite of an int boolean given (flip the int boolean). Examples flipIntBool(1) ➞ 0 flipIntBool(0) ➞ 1 Notes N/A

Instructions

An int boolean is same as a normal boolean, just 1 = true and 0 = false. Make a function that returns an int boolean opposite of an int boolean given (flip the int boolean).

Examples

flipIntBool(1) ➞ 0

flipIntBool(0) ➞ 1

Notes

N/A