Suppose we need to record an increase of sales for one of our stars. This act should be recorded in the star's record. To do so, we should have a function that consumes a star structure and produces a star structure with the same information except for the sales component. Let's assume for now that the function adds 20000 to the star's sales. The three sample star structures from above are also good examples of potential inputs.
Figure contains the complete definition.
Provide a structure definition that represents an airforce's jet fighters. Then develop the function within-range . It determines whether the fighter can reach the intended target. Also develop the function reduce-range .