can someboduy tell me wqhat is does these three kind of code mean? I mean why code3 is not working and what dows a( r ) actually mean? hwo does these change the layout? by rthe way this is not a homework but only my own thought 🙂
CODE1)
a=[0 1]; for r=3:100 a(r)=(r-1)+(r-2); enddisp(a)
CODE2)
a=[0 1]; for r=3:100 a(r)=a(r-1)+a(r-2); enddisp(a)
CODE3)
a=[0 1]; for r=3:100 a(r)=a(r-1)+a(r-2); enddisp(a)
Best Answer