#Sets number of types of people
types_of_people = 10
#Sets string incorporating types_of_people variable
x = "There are #cfw_types_of_people types of people."
#Sets strings for binary and do_not, then sets up string y incorporating it
binary = "binary"
Getting the Look You Want
Are you intimidated by the prospect of decorating your home? If so, you definitely
not alone. The endless choices available to todays consumer can be overwhelming.
Here are some suggestions from Pembrooke Community College design
#Here's some new strange stuff, remember type it exactly.
days = "Mon Tue Wed Thu Fri Sat Sun"
months = "Jan\nFeb\nMar\nApr\nMay\nJun\nJul\nAug"
puts "Here are hte days: #cfw_days"
puts "Here are the months: #cfw_months"
There's something going on
# A comment, this is so you can read your program later.
# Anything after the # is ignored by ruby.
puts "I could have code like this." # and the comment after is ignored
# You can also use a comment to "disable" or comment out a piece of code:
# puts "Th
puts "I will now count my chickens: "
#Prints Hens and then calculates what's in brackets and prints that
puts "Hens #cfw_25.0 + 30.0 / 6.0"
#Prints Roosters and then calculates what's in brackets and prints that
puts "Roosters #cfw_100.0 - 25.0 * 3.0 % 4
#A string value is inputted
puts "Mary had a little lamb."
#Its fleece was white as snow is inputted, with the snow being in single quotes
puts "Its fleece was white as #cfw_'snow'."
#"And everywhere that Mary went" is printed out as well
puts "And everyw
MLA Style Reporting Vocabulary List
Formal references to the work of others
Modern Language Association:
Organization that created MLA Style
Checklist for formatting a default Word document to match MLA style:
1. Double-space the entire documen