Hello!
I am a newbie, and have received my first VBA assignment. I have to write a subroutine that generates the Fibonacci sequence of numbers (the first n numbers, where n is an integer number that the user inputs). For example, the first seven numbers will be 0,1,1,2,3,5,8).
I also have to write a subroutine that generates Pascal's triangle (the first n rows, where n is an integer number that the user inputs). For example, the first three rows will be: 1, 1 1, 1 2 1, ...
If anyone could please assist, or point me in the correct direction? I have been looking, and all I find are functions, not subroutines!
My assignment is due on Wednesday..
Thanks
Statsstudent2006