Project 3 - Currency Type
|
![]() ![]() | |
![]() ![]() | Implement a fixed-point number class template. Values have N places after the decimal point. All arithmetic follows the usual rules |
![]() ![]() | |
![]() ![]() | Represent a rational number (fraction) as a numerator and denominator |
![]() ![]() ![]() | Exception class if the denominator is ever zero |