ScratchData LogoScratchData
Back to Jedbone's profile

fibbonacci calculation

JEJedbone•Created September 2, 2008
fibbonacci calculation
0
0
86 views
View on Scratch

Description

This project creates fibbonacci numbers. It first sets a variable called Current Fibbonacci Number to 1 (if it starts at 0 it'll go nowhere.) Afterwards setting variables Recent Fibbonacci Number and Fibbonacci Number Number (i mean as in Fibbonacci number no. 1, fibbonacci no. 2) to 0 and 1, afterwards repeating: -wait a second (to make sure you can see the time) -set a special variable that saves the real recent value because it is changed to what it will not work properly in other strings. -set the real old number to the current number - finally, set the current number to itself plus the saving node. The saving node is used for this purpose. Without the saving node the system would add what is now the same value as the current number in to just double it. The old node drags along the current numeral in the right order. The program will stop working properly if you change the order of the code strings. This took some thinking.

Project Details

Project ID256280
CreatedSeptember 2, 2008
Last ModifiedSeptember 2, 2008
SharedSeptember 2, 2008
Visibilityvisible
CommentsAllowed