Inherit the Employee class from Classwork 10 and create a subclass Executive. The subclass will include the monthly sala

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Inherit the Employee class from Classwork 10 and create a subclass Executive. The subclass will include the monthly sala

Post by answerhappygod »

Inherit The Employee Class From Classwork 10 And Create A Subclass Executive The Subclass Will Include The Monthly Sala 1
Inherit The Employee Class From Classwork 10 And Create A Subclass Executive The Subclass Will Include The Monthly Sala 1 (27.24 KiB) Viewed 29 times
Inherit the Employee class from Classwork 10 and create a subclass Executive. The subclass will include the monthly salaries and the term of employment (in months) and can calculate the present value of the wages. Assume a monthly discount rate of 0.0025 in calculating the present value and that monthly payment occurs at the end of each month. Use a list comprehension in calculating the present value. The function will be capable of the following. Upload the .py file and the output screenshot on Canvas. >>> executivel - Executive ("George", "Carlin", 20000, 48 ) >>> executivel.initial() "GC! >>> executivel.number_letter() 12 >>> executivel.salary 20000 >>> executivel.term 48 >>> executive1.pv_salary() 903573.89
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply