This program converts American currency (USD) to Canadian currency (CAD). Canadian RATE has been defined. This allows RATE and comment date to be changed without modifying any other area of the code. With cout, the user is asked to enter in US currency amount and by use of cin, allows the user to enter in the data. The amount entered in by the user will then be converted to its worth in CAD and displayed on the screen by use of cout.
Learned:
- Use of #define
- Use of setprecision()
- Use fixed