This exercise is to develop programming skills in comparative operations using the conditional statements. The students are required to develop a program using “if-statement” in the first program Exercise 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. 1- 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 2- Programmer and Technical Support Job Category Candidate Qualification = Bachelors Candidate Experience = 2 Years or above Candidate age = 24 to 35 Offered Salary = 1000 OMR 3- 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. 1- 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 categories. 2- If difference in the offered and expected salary is more than 100 OMR, then candidate is not eligible for any job. 3- If candidate age is over 55, then candidate is not eligible for any job. 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” 1- Enter Candidate highest qualification: 2- Enter Candidate Specialisation (Engineering/Non-Engineering): 3- Enter Candidate Year of passing: “Work Experience.” 1- Enter Candidate Total Work Experience: 2- 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
This exercise is to develop
the conditional statements.
The students are required to develop a program using “if-statement” in the first program
Exercise 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.
1- 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
2- Programmer and Technical Support Job Category
Candidate Qualification = Bachelors
Candidate Experience = 2 Years or above
Candidate age = 24 to 35
Offered Salary = 1000 OMR
3- 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.
1- 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 categories.
2- If difference in the offered and expected salary is more than 100 OMR, then
candidate is not eligible for any job.
3- If candidate age is over 55, then candidate is not eligible for any job.
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”
1- Enter Candidate highest qualification:
2- Enter Candidate Specialisation (Engineering/Non-Engineering):
3- Enter Candidate Year of passing:
“Work Experience.”
1- Enter Candidate Total Work Experience:
2- 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
Step by step
Solved in 3 steps with 3 images