Hello guys, I am trying to develop a simple loop in Ruby. You need to

type in a number. When this number is an “even” number, it will divide

it by 2. If it is an odd number, it will multiply it by 3. This goes in

a loop… so for instance if you type in number “20”, Ruby would write

an answer like this: 20, 10, 5, 15, 45,… infinitelly…always either

dividing or multiplying the number that it gets depending on whether it

is an odd or even number.

I tried so many things these days, but none of them were working.