Notes for Programming Assignment 2:

Please note the following predicates exist in MIT Scheme and function as illustrated:

1] => (/ 1 2)

;Value: ½

2 ] => (/ 1. 2)

;Value: .5

3 ] => (rationalize (inexact->exact .5) 1/10)

;Value: ½

4 ] => (exact->inexect 1)

;Value: 1.

Also, note that input will be handled by a series of calls to a predicate called infix, for example:

5 ] => (infix ‘(1 / 2) )

You can produce output however you like as long as it has both the fraction and float value when the answer is not an integer.