title: Simplest way to calculate amount of even numbers in given range
body: <p>What is the simplest way to calculate the amount of even numbers in a range of unsigned integers?</p>
  
  <p>An example: if range is [0...4] then the answer is 3 (0,2,4)</p>
  
  <p>I'm having hard time to think of any simple way. The only solution I came up involved couple of if-statements. Is there a simple line of code that can do this without if-statements or ternary operators?</p>