The students are required to develop a program using “if-statement” in the first program and switch statements in the second program. Your code must be properly commented. Exercise 3.1: Write a C++ program for a recruitment agency. The program takes candidates personal , educational and work experience data, and selects candidates for the related job category interview based on the following criteria.     Analyst and Management Job Category Candidate Qualification = Masters or Doctorate Candidate Experience = 10 Years or above Candidate age            = 35 to 55 Offered salary             = 1500 OMR Programmer and Technical Support Job Category Candidate Qualification = Bachelors Candidate Experience  = 2 Years or above Candidate age             = 24 to 35 Offered Salary              = 1000 OMR Technicians and Assistants Candidate Qualification = Diploma     Candidate Experience   = 0 Years or above Candidate age   = 22 to 30 Offered Salary   = 600 OMR You need to consider the following exceptions for candidate’s qualification, Salary expectations and candidate’s age. If Qualification = Bachelor and Experience is 15 Years or above, then candidate is eligible for the higher category job as well i.e., Analyst and Management Job Category, If Qualification = Diploma and Experience is 5 Years or above, then candidate is eligible for the higher category job as well i.e., 2-Programmer and Technical Support Job Category, so the program displays all eligible If difference in the offered and expected salary is more than 100 OMR, then candidate is not eligible for any If candidate age is over 55, then candidate is not eligible for any

C++ for Engineers and Scientists
4th Edition
ISBN:9781133187844
Author:Bronson, Gary J.
Publisher:Bronson, Gary J.
Chapter13: Structures
Section13.2: Arrays Of Structures
Problem 3E
icon
Related questions
Question
100%

The students are required to develop a program using “if-statement” in the first program and switch statements in the second program. Your code must be properly commented.

Exercise 3.1:

Write a C++ program for a recruitment agency. The program takes candidates personal , educational and work experience data, and selects candidates for the related job category interview based on the following criteria.

 

 

  • Analyst and Management Job Category
  • Candidate Qualification = Masters or Doctorate
  • Candidate Experience = 10 Years or above
  • Candidate age            = 35 to 55
  • Offered salary             = 1500 OMR
  • Programmer and Technical Support Job Category

Candidate Qualification = Bachelors

Candidate Experience  = 2 Years or above

Candidate age             = 24 to 35

Offered Salary              = 1000 OMR

  • Technicians and Assistants

Candidate Qualification = Diploma

 

 

Candidate Experience   = 0 Years or above

Candidate age   = 22 to 30

Offered Salary   = 600 OMR

You need to consider the following exceptions for candidate’s qualification, Salary

expectations and candidate’s age.

  • If Qualification = Bachelor and Experience is 15 Years or above, then candidate is eligible for the higher category job as well i.e., Analyst and Management Job Category, If Qualification = Diploma and Experience is 5 Years or above, then candidate is eligible for the higher category job as well i.e., 2-Programmer and Technical Support Job Category, so the program displays all eligible
  • If difference in the offered and expected salary is more than 100 OMR, then candidate is not eligible for any
  • If candidate age is over 55, then candidate is not eligible for any

 

Sample Input and Output:

“Welcome to Muscat Recruitment Agency”

 

 

“Personal Data”

1- Enter Candidate name: Salim 2-   Enter Candidate age:                                                 30

3- Enter Candidate Contact No.: 123456789 4- Enter Candidate address (City): Muscat

“Education”

  • Enter Candidate highest qualification:
  • Enter Candidate Specialisation (Engineering/Non-Engineering): 3- Enter Candidate Year of passing:

“Work Experience.”

  • Enter Candidate Total Work Experience:
  • Enter Employment Status (Employed/Un-Employed): 3- Enter Salary Expectation

 

 

 

 

 

Sample Output:

 

 

“Outcome of Candidate Credentials Review “

 

 

The Candidate is eligible/not eligible for the (relevant job category/categories). Offered Salary = relevant offered salary

Interview Date: 01/04/2021

 

 

Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Reference Types in Function
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++ for Engineers and Scientists
C++ for Engineers and Scientists
Computer Science
ISBN:
9781133187844
Author:
Bronson, Gary J.
Publisher:
Course Technology Ptr