M
Q. What is the output of the given code?
print "What's your address"
city,state,pin=gets.chomp,gets.chomp,gets.chomp
puts "Iam from #{city} city, #{state} state, pincode: #{pin} "
- Correct Answer - Option(C)
- Views: 76
- Filed under category Ruby
Discusssion
Login to discuss.