Large programs consist of many small programs and combine them in some manner. It is therefore important that programmers name each rule as they write it down. Programs combine basic operations. Once we have defined a program, we may use it as if it were a primitive operation. For each variable listed to the right of the program name, we must supply one input.
Many programs consume more than one input.
Let us call these unknown numbers outer and inner . The rest is plain arithmetic. Use a chemistry or physics book to look up the conversion formula. When the function is fully developed, test it using the teachpack convert.ss . The first creates a graphical user interface.