FizzBuzz was a neat toy. We said Fizz and Buzz a bunch and FizzBuzz. But what if we want to do something more sophisticated with our Fizzes and Buzzes? Time to kick it up a notch.
Your mission, if you choose to accept it, is to find the average of the multiples of both 3 or 5 below 100 excluding those multiples of both 3 and 5 . You should be able to recognize that finding these numbers is what you were doing in FizzBuzz.
You will accomplish this new task by creating an object called FizzBuzzPlus with 4 functions: isFizzBuzzie, getFizzBuzzSum, getFizzBuzzCount and getFizzBuzzAverage. We will use this structure to allow us to break the problem down into manageable pieces and to simplify the code by moving code fragments that will be used repeatedly into separate functions.