Ruby - Variables and Data Types
You want to create a greeting message that includes a user's name and the current year calculated dynamically. Which code correctly uses string interpolation to achieve this?
name = "Sam" current_year = Time.now.year # Choose the correct greeting message
