Create a method which accepts a number as a parameter and returns the Fibonacci series up to that number. The Fibonacci series is a series of numbers in which each number is the sum of the two that precede it. Starting at 0 and 1, the sequence looks like this: 0,1,1,2,3,5,8,13,21,34, and so on. Your method should use the appropriate naming and all variables should be declared with appropriate data type and initialise with sensible values. For example, for the input 13, the method will return 0 1 1 2 3 5 8 13.