Ruby - Variables and Data Types
Find the problem in this Ruby code snippet:
age = 20
puts "You are #{age years} old."age = 20
puts "You are #{age years} old."age years which is invalid syntax because there's no operator between age and years.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions