You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
190 B
Racket
9 lines
190 B
Racket
8 years ago
|
#lang basic-demo-3
|
||
8 years ago
|
10 def div(num, denom) = num / denom
|
||
|
20 x = 5 : y = 10
|
||
|
30 print x - 4
|
||
|
40 x = 15 : y = 30
|
||
|
50 print div(y, x)
|
||
|
60 x = 20
|
||
|
70 print div((x + x + x), x)
|
||
|
80 export div : export x
|