Ruby - Programming Language
This course covers the basics of programming in Ruby. Work your way through the videos and we'll teach you everything you need to know to start your programming journey!

Building A Mad Libs Game

Lesson 12
Author : Mike Dane
Last Updated : November, 2017


Code

Copyputs "Enter a color: "
color = gets.chomp
puts "Enter a plural noun: "
plural_noun = gets.chomp
puts "Enter a celebrity: "
celebrity = gets.chomp


puts "Roses are #{color}"
puts "#{plural_noun} are blue"
puts "I love #{celebrity}"