Write a class named Employee that holds the following data about an employee in attributes: name, ID number, department, and job title. Once you have written the class, write a program that creates three Employee objects to hold the following data: Name ID          Number    Department            Job Title Susan Meyers   47899       Accounting          Vice President Mark Jones      39119         IT                         Programmer Joy Rogers       81774         Manufacturing    Engineer The program should store this data in the three objects, then display the data for each employee on the screen.

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter11: Inheritance And Composition
Section: Chapter Questions
Problem 6PE
icon
Related questions
Question

USING PYTHON

1. Write the PYTHON  Programs for the following exercises

2. For each program, you need to write:

    • Comments for all the values, constants, and functions
    • IPO
    • Variables
    • Pseudocode 

Employee Class


Write a class named Employee that holds the following data about an employee in attributes:
name, ID number, department, and job title.
Once you have written the class, write a program that creates three Employee objects to hold the following data:


Name ID          Number    Department            Job Title
Susan Meyers   47899       Accounting          Vice President
Mark Jones      39119         IT                         Programmer
Joy Rogers       81774         Manufacturing    Engineer


The program should store this data in the three objects, then display the data for each employee on the screen.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Knowledge Booster
Data members
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning
Microsoft Visual C#
Microsoft Visual C#
Computer Science
ISBN:
9781337102100
Author:
Joyce, Farrell.
Publisher:
Cengage Learning,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage