Created
March 8, 2015 06:04
-
-
Save NevadaKiran/82c20f43e7dd35f8197e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "I will now count my chickens:" | |
puts "Hens #{25 + 30 / 6}" | |
puts "Roosters #{100 - 25 *3 % 4}" | |
puts "Now I will count the eggs:" | |
puts 3 + 2 + 1 - 5 + 4 % 2 - 1 / 4 + 6 | |
puts "Is it true that 3 + 2 < 5 - 7?" | |
puts 3 + 2 < 5 - 7 | |
puts "What is 3 + 2? #{3 + 2}" | |
puts "What is 5 - 7? #{5 - 7}" | |
puts "Oh, that's why it's false." | |
puts "How about some more." | |
puts "Is it greater? #{5 < -2}" | |
puts "Is it greater or equal? #{5 >= -2}" | |
puts "Is it less or equal? #{5 <= -2}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment