#include using namespace std; int main() { string c_name, address, c_spe, c_status; int c_qualification; int c_year_of_passing , c_experience, c_age, offered_s, expected_s, contact_n; cout <<"\" Welcome to Muscat Recruitment Agency\""<>c_name; cout<<"2-Enter Candidate age :";cin>>c_age; cout<<"3-Enter Candidate Contact No:";cin>>contact_n; cout<<"4-Enter Candidate address (city):";cin>>address; cout<>c_qualification; cout<<"2-Enter Candidate specialisation (Engineering / Non-Engineering):";cin>>c_spe; cout<<"3-Enter Candidate Year of passing:";cin>>c_year_of_passing; cout<>c_experience; cout<<"2-Enter Candidate Employment Status(Employed/Non-Employed):";cin>>c_status; cout<<"3-Enter Salary Expectation:";cin>>expected_s; cout<<"\"Outcome of Candidate Credentials Review\""<55) { cout<<" The Candidate is not eligible for any job "; } else{ }if ( c_qualification == 4 ) { if ( c_experience >=2 && c_experience<10) { if(c_age>= 24 &&c_age <35) { if((expected_s-1000)<= 100) { cout<<" The Candidate is eligible for the (Programmer and technical support job category )"<=0 && c_experience<2) {if ( c_age>= 22&& c_age<=30) { if(( expected_s-600)<=100) { cout<<" The Candidate is eligible for the (technicians and assistance job category )"<=10) { if ( c_age >=35 ) {if ((expected_s-1500 )<=100) { cout<<" The Candidate is eligible for the ( Analyst and Management job category )"<
and here is the question
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 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.
1- Analyst and Management Job Category
Candidate Qualification = Masters or Doctorate
Candidate Experience Candidate age Offered salary
= 10 Years or above = 35 to 55
= 1500 OMR
2- Programmer and Technical Support Job Category
Candidate Qualification = Bachelors
Candidate Experience Candidate age Offered Salary
= 2 Years or above = 24 to 35
= 1000 OMR
3- Technicians and Assistants
Candidate Qualification = Diploma
In Partnership with
Candidate Experience
Candidate age
Offered Salary
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
![](/static/compass_v2/shared-icons/check-mark.png)
Step by step
Solved in 2 steps with 1 images
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)