The invoice program assumes that prices are given in dollar. Other currencies have different rules, and it makes sense to use an interface that defines the essential operations required for money values. The interface Money is given below.

There will be classes (such as Dollar and Euro) that implement this interface, but you need not know them.

In this assignment, the Product and LineItem classes have been modified to use the Money interface.

Your task is to modify the Invoice class.