Just 12.12 in c#
the new Emp loyee hlrary.DIsplay 12.12 (Accounts Payable System Modification) Modify the accounts payable a 12.14 to include the complete functionality of the payroll app of Figs. 12.4-12.9 app of Figs. 1211 Enploye the app shoud Pp process one object of each of the four till process two Invoice objects, but now should derived classes. If the object currently being processed is a BasePlusCommissomlove should increase the BasePlusCommissionEmployees base salary by 10%. Finally output the payment amount for each object. Modify PayableInterfaceTest (Fig. 12.14) o morphically process two Invoices, one SalariedEmployee, one HourlyEmployee, one Comristes Employee and one BasePlusCommissionEmployee. First, output a string representation of ed IPayable object. Next, if an object is a BasePlusCommissionEmployee, increase its base salam 10%. Finally, output the payment amount for each !Payable object. 12.13 (Polymorphic Banking Program Using Account Hierarchy) Develop a polymorphic batking app using the Account hierarchy created in Exercise 11.9. Create an array of Account referencesto s ingsAccount and checkingAccount objects. For each Account in the array, allow the user to amount of money to withdraw from the Account using method Debit and an amount of moncy deposit into the Account using method Credit. As you process each Account, determin Account is a SavingsAccount, calculate the amount of interest owed to the Account using meth culateInterest, then add the interest to the account balance using method Credit. Afer procesi an Account, display the updated account balance obtained by using base-class property Baland If a odCal e its type Making-a-Difference Exercise ter, you can specify similar behaviors for possibly disparate classes. Govfa cha this 12.14 (CarbonfFootprint Interface: Polymorphism) Using interfaces, as you learned compui the new Emp loyee hlrary.DIsplay 12.12 (Accounts Payable System Modification) Modify the accounts payable a 12.14 to include the complete functionality of the payroll app of Figs. 12.4-12.9 app of Figs. 1211 Enploye the app shoud Pp process one object of each of the four till process two Invoice objects, but now should derived classes. If the object currently being processed is a BasePlusCommissomlove should increase the BasePlusCommissionEmployees base salary by 10%. Finally output the payment amount for each object. Modify PayableInterfaceTest (Fig. 12.14) o morphically process two Invoices, one SalariedEmployee, one HourlyEmployee, one Comristes Employee and one BasePlusCommissionEmployee. First, output a string representation of ed IPayable object. Next, if an object is a BasePlusCommissionEmployee, increase its base salam 10%. Finally, output the payment amount for each !Payable object. 12.13 (Polymorphic Banking Program Using Account Hierarchy) Develop a polymorphic batking app using the Account hierarchy created in Exercise 11.9. Create an array of Account referencesto s ingsAccount and checkingAccount objects. For each Account in the array, allow the user to amount of money to withdraw from the Account using method Debit and an amount of moncy deposit into the Account using method Credit. As you process each Account, determin Account is a SavingsAccount, calculate the amount of interest owed to the Account using meth culateInterest, then add the interest to the account balance using method Credit. Afer procesi an Account, display the updated account balance obtained by using base-class property Baland If a odCal e its type Making-a-Difference Exercise ter, you can specify similar behaviors for possibly disparate classes. Govfa cha this 12.14 (CarbonfFootprint Interface: Polymorphism) Using interfaces, as you learned compui