Design classes such that they support the following statements:

6. Design classes such that they support the following statements:
Dollar d1, d2;
Rupee r1, r2;
Write a complete program which does such conversions according to the world market
value. Take $ 1 = Rupee 45 as a conversion factor.

Leave a Reply