DZone voters are special people. Be special. Login and vote now.
By BlackWasp
via blackwasp.co.uk
Submitted: May 31 2008 / 19:06
Standard arithmetic uses integers or floating-point values for operands and results. Rational numbers, or fractions, are not amongst the standard data types. In this article, we will create a structure for fractions and add arithmetic functionality.
Add your comment