Write a function that takes a parameter which can be either 100 or 101, the function will return 100 if the parameter is 101 or if the parameter is 101 it should return 100. Need to solve this without using any conditionals.
Anonymous
Simple solution: return 201 - num
Check out your Company Bowl for anonymous work chats.