From: "Raveendran .P" Date: 2010-02-11T15:19:10+09:00 Subject: Re: Need help with Code (Input Functionality) Hi, The exact solution for above(first post) issue Code: puts 'What is your name?' name = gets puts 'What is your city?' city = gets puts 'What is your favorite color?' color = gets print "Your name is #{name.chomp}.", "You live in #{city.chomp}.", "Your Favorite color is #{color.chomp}." C:\Desktop>ruby d.rb What is your name? My Name What is your city? My City What is your favorite color? My Color Your name is My Name.You live in My City.Your favorite color is My Color. Please update if any other info needed ? -- Posted via http://www.ruby-forum.com/.