Create a class named as Recruitment which is derived from two base classes named as Basic qualification and interview. Basic qualification contains the Name, marks in last qualification, Interview class contains the marks obtained in interview. Recruitment class will display the message as recruited or not recruited. Criteria for recruitment is if the marks in last qualification is more than 80 and interview marks are greater than equal to 6 out of 10 for interview marks. Make sure that negative marks are not allowed. Write the program in c++ language.

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

Create a class named as Recruitment which is derived from two base classes named as Basic qualification and interview. Basic qualification contains the Name, marks in last qualification, Interview class contains the marks obtained in interview. Recruitment class will display the message as recruited or not recruited. Criteria for recruitment is if the marks in last qualification is more than 80 and interview marks are greater than equal to 6 out of 10 for interview marks. Make sure that negative marks are not allowed. Write the program in c++ language.

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 3 steps with 2 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,