Math stuff (with order of operations yay)

This commit is contained in:
2026-02-26 18:06:41 +11:00
parent f5068fe861
commit 5cec2c1852
4 changed files with 328 additions and 2 deletions

View File

@@ -2,4 +2,11 @@
x = 5
puts x + 3
puts 5 * 7
puts 3.0 / 2
puts 10 - 3
// Uh oh it's the order of operations
puts 5 + 3 * 7
puts 5 * 3 + 7