code.cpp 119 B

12345678
  1. bool reverse(bool boolean) {
  2. if (boolean == true){
  3. return false;
  4. }
  5. else if (boolean == false){
  6. return true;
  7. }
  8. }