Create two classes manager and employee which store (code, name, salary, department, and city).find: A-Read information for the two classes objects? B-Display the greater salary for both manager and employee (using friend function)? Write main program to test 100 manager and 100 employee?

Programming Logic & Design Comprehensive
9th Edition
ISBN:9781337669405
Author:FARRELL
Publisher:FARRELL
Chapter11: More Object-oriented Programming Concepts
Section: Chapter Questions
Problem 8RQ
icon
Related questions
Question
Please solve quickly, material software techniques
Q2: Create two classes manager and employee which store (code, name, salary,
department, and city),find:
A-Read information for the two classes objects?
B-Display the greater salary for both manager and employee
(using friend function)?
Write main program to test 100 manager and 100 employee?
Transcribed Image Text:Q2: Create two classes manager and employee which store (code, name, salary, department, and city),find: A-Read information for the two classes objects? B-Display the greater salary for both manager and employee (using friend function)? Write main program to test 100 manager and 100 employee?
Expert Solution
steps

Step by step

Solved in 4 steps with 11 images

Blurred answer
Knowledge Booster
Class
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
Programming Logic & Design Comprehensive
Programming Logic & Design Comprehensive
Computer Science
ISBN:
9781337669405
Author:
FARRELL
Publisher:
Cengage