home *** CD-ROM | disk | FTP | other *** search
/ Microsoftware Monthly 19…2 Programming Power Tools / MASO9512.ISO / cpptutor / cpptutor.arj / CH10 / A10183.TXT < prev    next >
Encoding:
Text File  |  1993-10-18  |  263 b   |  6 lines

  1. The function print1() prints the four Fraction objects
  2. in tabular form.  It displays them as pure fractions,
  3. and as mixed fractions with the
  4. whole part separated.  It also converts them to floating point
  5. values, truncates them to integers, and inverts them.
  6.