29 lines
384 B
Plaintext
29 lines
384 B
Plaintext
// heheheha comment
|
|
|
|
x = 5
|
|
puts x + 3
|
|
puts 5 * 7
|
|
puts 3.0 / 2
|
|
puts 10 - 3
|
|
puts "dingle" + "dongle"
|
|
|
|
// Uh oh it's the order of operations
|
|
|
|
puts 5 + 3 * 7
|
|
puts 5 * 3 + 7
|
|
|
|
// Let's do some equalities
|
|
puts 5 == 5
|
|
puts 3 == 2
|
|
puts "dingus" == "dongus"
|
|
puts 3.14 == 3.14
|
|
puts 3 + 5 == 3 + 5
|
|
|
|
// And now some of the other thingys
|
|
puts 3 > 5
|
|
puts 3 < 5
|
|
|
|
puts 10 != 3
|
|
puts 3 >= 2
|
|
puts 3 >= 3
|