Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In c#. There is only one program to do. That is 12.12. The figures are asked for in the question. Please only do in c#.
In c#. There is only one program to do. That is 12.12. The figures are asked for in the question. Please only do in c#. Im not sure how to do this and it is due soon. Ignore the sideways picture I cant delete it. I put 12.12 up and down in the 3rd picture thank you. I will thumbs up if due soon and correctly. if a image is blurry say which one. All photos are in 1080p and i can read every one on a computer. They are disorganized though.
the new Emp loyee hlerarelly. D13play 12.12 (Accounis Payable Sytem Modification) Modify the accounts payable amaf 12.14 to include the complete functionality of the payroll app of Figs. 12.4-1 still process two Invoice objects, bu derived classes. If the object currently being processed is a BasePlusCommissionEmploye, o should increase the BasePlusCommissionEmployee's base salary by 10%. Finally output the payment amount for each object. Modify PayableInterfaceTest (Fig. 12.14 payable app of Figs.12.11 2.9. Th t now should proce ss one object of each of the four app morphically process two Invoices, one SalariedEmp1oyee, one Hourlyoe one Comisiter Employee and one BasePlusCommissionEmployee. First, output a string representation of exi IPayable object. Next, if an object is a BasePlusCommissionEmployee, increase its base slar 10%. Finally, output the payment amount for each 1 Payable object. 12.13 (Polymorphic Banking Program Using Account Hierarchy) Develop a polymorphic barking app using the Account hierarchy created in Exercise 11.9. Create an array of Account referecesto Sa ingsAccount and CheckingAccount objects. For each Account in the array, allow the user to speciy 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, determine its ype Account is a SavingsAccount, calculate the amount of interest owed to the Account using meth od Cal eInterest, then add the interest to the account balance using method Credit. After procsia an Account, display the updated account balance obtained by using base-class property Balance. Making-a-Difference Exercise 12.14 (CarbonFootprint Interface: Polymorphism) Using interfaces, as you learne o ter, you can specify similar behaviors for possibly disparate classes. Gove nofa the new Emp loyee hlerarelly. D13play 12.12 (Accounis Payable Sytem Modification) Modify the accounts payable amaf 12.14 to include the complete functionality of the payroll app of Figs. 12.4-1 still process two Invoice objects, bu derived classes. If the object currently being processed is a BasePlusCommissionEmploye, o should increase the BasePlusCommissionEmployee's base salary by 10%. Finally output the payment amount for each object. Modify PayableInterfaceTest (Fig. 12.14 payable app of Figs.12.11 2.9. Th t now should proce ss one object of each of the four app morphically process two Invoices, one SalariedEmp1oyee, one Hourlyoe one Comisiter Employee and one BasePlusCommissionEmployee. First, output a string representation of exi IPayable object. Next, if an object is a BasePlusCommissionEmployee, increase its base slar 10%. Finally, output the payment amount for each 1 Payable object. 12.13 (Polymorphic Banking Program Using Account Hierarchy) Develop a polymorphic barking app using the Account hierarchy created in Exercise 11.9. Create an array of Account referecesto Sa ingsAccount and CheckingAccount objects. For each Account in the array, allow the user to speciy 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, determine its ype Account is a SavingsAccount, calculate the amount of interest owed to the Account using meth od Cal eInterest, then add the interest to the account balance using method Credit. After procsia an Account, display the updated account balance obtained by using base-class property Balance. Making-a-Difference Exercise 12.14 (CarbonFootprint Interface: Polymorphism) Using interfaces, as you learne o ter, you can specify similar behaviors for possibly disparate classes. Gove nofaStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started