ExamVeda
Login
Home
Basic Syntax in Ruby
?

What is the output of given code?
puts "what is your first name?"
   name=gets.chomp
   puts "what is your surname?"
   surname=gets.chomp

Answer & Solution
Correct Answer: Option B
Let's discuss the solution. Join the discussion
Examveda
Question posted by Examveda
Community

Join the Discussion

No comments yet Be the first to discuss this question.