code.cpp 268 B

12345678
  1. /*An int boolean is same as a normal boolean, just 1 = true and 0 = false.
  2. Make a function that returns an int boolean opposite of an
  3. int boolean given (flip the int boolean).*/
  4. int flipIntBool(int baseIntBoolean) {
  5. // haha I DIDNT CODE!
  6. return !baseIntBoolean;
  7. }