Chapter 3, Modularity, Objects, and State
Exercise 3.53
First element is 1.
Second element is 1+1=2.
Third element is 2+2=4.
Fourth element is 4+4=16.
Well, as we can see, it is a stream of powers of 2 starting from 1.
First element is 1.
Second element is 1+1=2.
Third element is 2+2=4.
Fourth element is 4+4=16.
Well, as we can see, it is a stream of powers of 2 starting from 1.