Ad
  • Default User Avatar

    return breaks the flow of execution so the else block is extraneous in this case. if the number is even, execution will stop after number * 8. otherwise it will continue to run until it hits the next return statement