Write some code to find numbers $a$ and $b$ that are in the "golden ratio" of one another, or have the property that $\frac{a+b}{a}=\frac{a}{b}$. What ratio to $a$ and $b$ have in this case (ans: 1.618...).← Back to challenges | Lessons

Run Share Lua reference

Here is a share link to your code:

Close