Ruby input in loops
hello, I am trying to write a stupid little game in ruby that picks two random numbers and the user must give the product of those two numbers. I want the playground to ask for three different products, so I am using a while loop. but the playground only asks for input once, and then for the second two loops it just puts the input at zero. anyone know how to fix this? I want the playground to ask for input for each iteration.