blob: f791de29419778cea9cebaff80cf6feed8022e1e (
plain) (
blame)
1
2
3
4
5
6
7
8
|
(display ((lambda (str from to)
(let ((i (string-index str (string->char-set from))))
(string-replace str to i (+ i (string-length from)))))
(number->string (let* ((a (read)) (b (read)) (c (read)) (d (read)))
(+ (/ a b) (/ c d))))
"/"
" "))
(newline)
|