Q)TCS is a Pakistani courier and logistics company which is based in Karachi. Suppose you are working as a programmer in TCS. CEO of TCS assigned a task to you to develop a list of Top 1 employee...


Q)TCS is a Pakistani courier and logistics company which is based in Karachi. Suppose you are working as a


programmer in TCS. CEO of TCS assigned a task to you to develop a list of Top 1 employee working in different


departments using object-oriented programming concepts


You have to create a class named employees contains


● Three data members i.e. the employee_id , name, salary, age and address


● 2 function members input( ) to take input and output( ) to display data


Derive a class named IT from the class employees that holds the following:


● Two data members i.e. the designation and weekly hours


● 2 function members input( ) to take input and output( ) to display data



Derive a class named HR from the class employees that holds the following:


● Two data members i.e. the designation and weekly hours


● 2 function members input( ) to take input and output( ) to display data


Derive a class named Finance from the class


employees that holds the following:


● Two data members i.e. the designation


and weekly hours


● 2 function members input( ) to take input


and output( ) to display data



Note: (Subject:OOP)




Jun 06, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here