#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 )"<

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question
#include <iostream>
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\""<<endl<<endl;
cout <<"-------------------------------------------"<<endl<<endl;
cout<<" \" Personal Data\""<<endl<<endl;
cout<<"1-Enter Candidate name:";cin>>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<<endl<<endl;
cout<<"\"Education\""<<endl<<endl;
cout<<"1-Enter Candidate highest qualifivation (if masters =1 if doctorate=2 if diploma = 3 if bachelors=4): ";cin>>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<<endl<<endl;
cout<<"\"Work Experience\" "<<endl<<endl;
cout<<"1-Enter Candidate Total Work Experience:";cin>>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\""<<endl<<endl<<endl;
if ( c_age>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 )"<<endl;
    cout<<" Offered Salary is 1000 OMR "<<endl;
    cout<<" The interview date is 01/04/2021"<<endl;
    }
     else  { 
    cout<<" The candidate is not eligible for any job";
    }
 
 
 
 
 
      if (c_qualification ==3  ) {
  if ( c_experience >=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 )"<<endl;
    cout<<" Offered Salary is 1000 OMR "<<endl;
    cout<<" The interview date is 01/04/2021"<<endl;
    }else {
  cout<<" the candidate is not aligible for any job";
    }
 
 
 
 
   if ( c_qualification ==1 || c_qualification == 2)
    {
   if (c_experience >=10)  
    {
   if  ( c_age >=35  )
    {if
   ((expected_s-1500 )<=100)
{
    cout<<" The Candidate is eligible for the ( Analyst and Management job category )"<<endl;   
    cout<<" Offered Salary is 1500 OMR "<<endl;
    cout<<" The interview date is 01/04/2021"<<endl;
 
}else {
cout<<" the candidate is not eligible for any job ";
}
 
return 0;
}
}
}
}
}}
}
}
}
 
this is the code could you please let me know where is the mistakes ? 
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

Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY