mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-18 21:29:18 +02:00
New file for Issue #248
This commit is contained in:
parent
ebc68e6746
commit
867c23b17a
1 changed files with 9 additions and 0 deletions
9
examples/greater-of.scm
Normal file
9
examples/greater-of.scm
Normal file
|
@ -0,0 +1,9 @@
|
|||
;; Test program for issue 248
|
||||
(import (scheme base) (scheme write))
|
||||
|
||||
(define (greater-of x y) (if (> x y) x y))
|
||||
|
||||
(write (greater-of 0 1))
|
||||
(newline)
|
||||
(write (greater-of 1 0))
|
||||
(newline)
|
Loading…
Add table
Reference in a new issue