+ 1
How do I display all the terms of the sequence ?
This is the Syracuse Sequence, my problem is that my code only displays the 1st and last term of the sequence, I would like to display them all. What must I modify/add ? https://code.sololearn.com/WRWmgiI7fNnM/?ref=app
2 odpowiedzi
+ 2
https://code.sololearn.com/cKx6bsE2Vh9k/?ref=app
+ 1
Thanks, but I would like it in JavaScript, I haven't learned C++ yet. :D