Wipro Interview Question

One of the Java programs was to generate Fibonacci series from 1 to given number .