Extend the ac scanner (Figure 2.5) so that the following occurs.
(a) A floatdcl can be represented as either f or float. (That is, a more Java-like declaration may be used.)
(b) An intdcl can be represented as either i or int.
(c) A num may be entered in exponential (scientific) form. That is, an ac num may be suffixed with an optionally signed exponent (123e-22 or 0. 31415926535e1)
Figure 2.5