Ruby - Variables and Data Types
Identify the problem in this Ruby code snippet:
num1 = 10 num2 = 3 result = num1 / num2.to_f puts result
num1 = 10 num2 = 3 result = num1 / num2.to_f puts result
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions