zettacode.files/arithmetic.integer/wart.txt in zettacode-0.1.0 vs zettacode.files/arithmetic.integer/wart.txt in zettacode-0.1.1
- old
+ new
@@ -1,9 +1,9 @@
- - (d)
-b - ()
- "u: " +b
- "ffc: " -b
- "uc: " *b
- "qu: " b
- " qu: " ( b)
- ": " %b
- ": " ^b
+a <- (read)
+b <- (read)
+prn "sum: " a+b
+prn "difference: " a-b
+prn "product: " a*b
+prn "quotient: " a/b
+prn "integer quotient: " (int a/b)
+prn "remainder: " a%b
+prn "exponent: " a^b