eg-259:lecture6
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
eg-259:lecture6 [2013/02/07 21:03] – [Constructors] eechris | eg-259:lecture6 [2013/02/07 21:09] (current) – [Exercises] eechris | ||
---|---|---|---|
Line 773: | Line 773: | ||
===== Exercises ===== | ===== Exercises ===== | ||
- | Write, test and debug (if necessary) | + | Use jsFiddle or some other method to write, test and debug (if necessary) |
- //Output//: A table of numbers from 5 to 15 and their squares and cubes, using alert. | - //Output//: A table of numbers from 5 to 15 and their squares and cubes, using alert. | ||
- | - //Output//: The first 20 Fibonacci numbers, which are defined as in the following sequence 1, 1, 2, 3, … where each number in the sequence is the sum of the two previous numbers. Use '' | + | - //Output//: The first 20 Fibonacci numbers, which are defined as in the following sequence 1, 1, 2, 3, … where each number in the sequence is the sum of the two previous numbers. Use '' |
- Modify the script of Exercise 2 to input a number, //n//, using '' | - Modify the script of Exercise 2 to input a number, //n//, using '' | ||
- // | - // |
eg-259/lecture6.1360271006.txt.gz · Last modified: 2013/02/07 21:03 by eechris