The Fibonacci 500 - 0 views
Fibonacci Sequence - 0 views
Nancy's Fibonacci Sequence - 0 views
Fibonacci a la Starr - 0 views
Fibonacci Sequence - 0 views
-
I think I'm finally starting to understand php. It's not the easiest language, thats for sure! (or is it!?) With that said, here is my Fibonacci Sequence up to 500. I looked a variety of different codes online, but didn't use just one. After looking at a whole bunch I realized there are quite a few ways to write this code. Which in my mind, only compicated matters more...
-
Yes! It's true of most programming tasks: there are many ways to accomplish the same thing. In some ways it does complicate things, but it's also (though it may not feel like it now) makes it fun! It's especially good when you find a "good hack"--a shortcut that makes your code better, faster, shorter, and more simple. Congrats on this one, it's a hard program to puzzle out.
Fibonacci Sequence, first 500 numbers - 0 views
Module 3: Fibonacci Numbers - 0 views
First 500 Numbers in Fibonacci Sequence - 0 views
The Fibonacci Sequence - 0 views
-
Yay! Although the code doesn't look right when I view source? Is this ok?
-
Well, it's a good start, but you need to have it run the first 500 numbers, not up to 500 :). So, it's running about 480 short right now. As far as the code goes, just make use of a basic template, except for the PHP bit of it in the middle.
1 - 10 of 10
Showing 20▼ items per page
tag.