Print Strings instead of Fibonacci numbers
<p>I have a beginner question about generating Fibonacci numbers in Java. </p>

<p>In this java program, the method should print Fibonnacci numbers sequence from <code>BeginIndex</code> to <code>LastIndex</code>, so it should print <code>"Hi"</code> (instead of number) if the number is a multiple of 5, print <code>"I am"</code> if the number is a multiple of 7 and print <code>"Hi I am me"</code> if the number is a multiple of 35. I am not really sure on how to do this.</p>

<pre><code>class FibonacciClass {
    public static void main(String args[] ) throws Exception {

        generatefibonacci(10, 20);
        generatefibonacci(0, 1);


    }


      private static void generatefibonacci(int BeginIndex, int LastIndex) {



        }
</code></pre>