I know this has been posted before, but all the solutions wereeither incomplete or did not fulfill all the requirements. I havemade the entire program but I’m missing part E and all thepolymorphic construction and destruction. So all the classes andmain files are easy but the polymorphic construction is the hardestpart of this problem. Language is C++. Also having trouble withadding and subtracting since the polymorphic construction istripping me up.
A. Create a currency class with four attributes – currency note,whole parts and fractional parts and currency coin such that 100fractional parts equals 1 whole part.
B. Create 5 derived classes for
OR
OR