Home / MCQ Bank / Computer
Computer Basic Syntax In Ruby

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} "

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option C • What's your address? Chennai Tamilnadu 600048 Iam from Chennai city, Tamilnadu state, pincode: 600048

Related Computer Questions

Which type of relationship is modelled by Aggregation? ______ is an RPC framework that defines a compact binary serialization format used to persist data structures for later analysis. What data structure is typically used to implement a system for efficiently managing and updating a large set of numerical data? The standard font determines the width of the text lines in the ______ Which privilege must be given to the database to create a stored function or procedure?