Implement a driver program that demonstrates polymorphism with various objects that inherit from the Sale and Purchase classes. The program checks the type of transactions, and calculates either the amount to be received from the customer for a sale transaction, or the amount to be paid to the retailer, considering each shape object at runtime.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here