Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

CSE260 assesment Sir it is urgent.do fast. Please solve this code in python3 paste with proper intendent blocks by pressing (CTRL+SHIFT+V),Also please provide code screenshot,

CSE260 assesment

Sir it is urgent.do fast. Please solve this code in python3 paste with proper intendent blocks by pressing (CTRL+SHIFT+V),Also please provide code screenshot, Thank you.

Do not need comments just give me solution as fast as possible. I am running out of time. Attach a screenshot with your solve.

Question:

Implement the MarketingOfficer and CommunicationOfficer class derived from the MarketingDepartmentEmployee class with necessary properties so that the expected output is generated. Do not change any given code.

class MarketingDepartmentEmployee: employeeInfo = {} def init(self, name, designation, workHour): #workHour = Per week working hour self.name = name self.designation = designation self.workHour = workHour

def calculateWeeklyIncome(self): pass

def str(self): s = f"Name: {self.name} Designation: {self.designation} Work hour per week: {self.workHour} hours" return s

# Write your codes here. cm1 = MarketingOfficer("Ross","Chief Marketing Officer",45,1500) print('1.------------------------------------') cm1.calculateWeeklyIncome() print('2.------------------------------------') print(cm1) print('3.------------------------------------') cm2 = MarketingOfficer("Rachel","Chief Marketing Officer",45,2000,5) print('4.------------------------------------') cm2.calculateWeeklyIncome() print('5.------------------------------------') print(cm2) print('6.------------------------------------') print(MarketingDepartmentEmployee.employeeInfo) print('7.====================================') co1 = CommunicationOfficer("Chandler","Communication Officer",50,1000,7) print('8.------------------------------------') co1.calculateWeeklyIncome() print('9.------------------------------------') print(co1) print('10.------------------------------------') co2 = CommunicationOfficer("Monica","Chief Communication Officer",55,1200) print('11.------------------------------------') co2.calculateWeeklyIncome() print('12.------------------------------------') print(co2) print('13.------------------------------------') print(MarketingDepartmentEmployee.

.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

The Temple Of Django Database Performance

Authors: Andrew Brookins

1st Edition

1734303700, 978-1734303704

More Books

Students also viewed these Databases questions

Question

=+14.4. 1 Let C be the set of continuity points of F.

Answered: 1 week ago