adding ex6

This commit is contained in:
Dan Buch 2012-02-07 23:27:20 -05:00
parent 593c16025c
commit 67b1aff3bc

20
ex6.rb Normal file
View File

@ -0,0 +1,20 @@
x = "There are #{10} types of people."
binary = "binary"
do_not = "don't"
y = "Those who know #{binary} and those who #{do_not}."
puts x
puts y
puts "I said: #{x}"
puts "I also said: '#{y}'."
hilarious = false
joke_evaluation = "Isn't that joke so funny?! #{hilarious}"
puts joke_evaluation
w = "This is the left side of..."
e = "a string with a right side."
puts w + e