Episode 1 - Intro to Ruby
Create a brand new Ruby file that displays the result of some subtraction and run it from the terminal. What happens if you subtract a greater number from a lesser number?
Look at this code:
Predict what exactly will happen when you run it. Then run it and see if you were correct.
PUTS 3 + 3
Create another ruby file called many_ways.rb. You could get the number 10 to appear in the terminal (the output) by writing the code:
Write code 3 more ways that will also output the number 10 in the terminal.
puts 7 + 3