YAPC::EU 2018 Glasgow Update!

This commit is contained in:
Ingy döt Net 2018-08-17 15:15:24 +01:00
parent 22f33d4004
commit 4e2d22a71d
1170 changed files with 15042 additions and 3047 deletions

View file

@ -1,7 +1,7 @@
import system'math.
import extensions.
public program =
public program
[
var a := console readLineTo(Integer new).
var b := console readLineTo(Integer new).
@ -11,4 +11,4 @@ public program =
console printLine(a," * ",b," = ",a * b).
console printLine(a," / ",b," = ",a / b). // truncates towards 0
console printLine(a," % ",b," = ",a mod:b). // matches sign of first operand
].
]

View file

@ -1,7 +1,5 @@
REBOL [
Title: "Integer"
Author: oofoe
Date: 2010-09-29
URL: http://rosettacode.org/wiki/Arithmetic/Integer
]