Ruby - Variables and Data Types
What will be the output of this Ruby code?
num1 = 9 num2 = 4.0 result = num1 / num2 puts result
num1 = 9 num2 = 4.0 result = num1 / num2 puts result
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions