#include using namespace std;   int main() {    string name,address,c_qual,c_spec,c_status;    int c_age,c_year,c_salary, candidate=0,c_experience;    int c_num;    cout << "Welcome to Muscat Recruitment Agency"<>name;    cout<<"2-Enter Candidate age: ";    cin>>c_age;    cout<<"3-Enter Candidate Contact No.: ";    cin>>c_num;    cout<<"4-Enter Candidate address (City): ";    cin>>address;    cout<<"Education"<>c_qual;    cout<<"2-Enter Candidate Specialisation (Engineering/Non-Engineering): ";    cin>>c_spec;    cout<<"3-Enter Candidate Year of passing: ";    cin>>c_year;    cout<<"Work Experience."<>c_experience;    cout<<"2-Enter Employment Status (Employed/Un-Employed): ";    cin>>c_status;    cout<<"3-Enter Salary Expectation: ";    cin>>c_salary;    cout<<"Outcome of Candidate Credentials Review"<=35 && c_age<=55 && c_experience>=10 && c_salary-1500<=100){        candidate =10;    }    if ( ( c_salary-1000)<=100)    { candidate= 20;       }      else if(c_qual=="Bachelors" && c_experience>=2  && c_experience<=10 && c_age>=24 && c_age<=35 && c_salary-1000<=100)          {candidate =30;      }        if((c_salary-600)<=100 )         {         candidate=40;    }      else if(c_qual=="Diploma" && c_experience>=0 && c_experience<=2 && c_age>=22 && c_age<=30 && c_salary-600<=100 )    {     candidate=50;        }        if(candidate ==10){        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 name,address,c_qual,c_spec,c_status;
   int c_age,c_year,c_salary, candidate=0,c_experience;
   int c_num;
   cout << "Welcome to Muscat Recruitment Agency"<<endl;
   cout<<"----------------------------------------"<<endl;
   cout<<"Personal Data"<<endl;
   cout<<"1-Enter Candidate name: ";
   cin>>name;
   cout<<"2-Enter Candidate age: ";
   cin>>c_age;
   cout<<"3-Enter Candidate Contact No.: ";
   cin>>c_num;
   cout<<"4-Enter Candidate address (City): ";
   cin>>address;
   cout<<"Education"<<endl;
   cout<<"1-Enter Candidate highest qualification: ";
   cin>>c_qual;
   cout<<"2-Enter Candidate Specialisation (Engineering/Non-Engineering): ";
   cin>>c_spec;
   cout<<"3-Enter Candidate Year of passing: ";
   cin>>c_year;
   cout<<"Work Experience."<<endl;
   cout<<"1- Enter Candidate Total Work Experience: ";
   cin>>c_experience;
   cout<<"2-Enter Employment Status (Employed/Un-Employed): ";
   cin>>c_status;
   cout<<"3-Enter Salary Expectation: ";
   cin>>c_salary;
   cout<<"Outcome of Candidate Credentials Review"<<endl;
   if((c_qual=="Masters"||c_qual=="Doctorate") && c_age>=35 && c_age<=55 && c_experience>=10 && c_salary-1500<=100){
       candidate =10;
   }
   if ( ( c_salary-1000)<=100)
   { candidate= 20;
  
   }
 
   else if(c_qual=="Bachelors" && c_experience>=2  && c_experience<=10 && c_age>=24 && c_age<=35 && c_salary-1000<=100)
         {candidate =30;
     }
       if((c_salary-600)<=100 )
        {
        candidate=40;
   }
 
   else if(c_qual=="Diploma" && c_experience>=0 && c_experience<=2 && c_age>=22 && c_age<=30 && c_salary-600<=100 )
   {     candidate=50;   
   
}
   
   if(candidate ==10){
       cout<<"The Candidate is eligible for the Analyst and Management Job Category."<<endl;
       cout<<"Offered Salary = 1500 OMR"<<endl;
       cout<<"Interview Date: 01/04/2021";
   }
   else if(candidate==20){
       cout<<"The Candidate is eligible for the Analyst and Management Job Category & Programmer and Technical Support Job Category."<<endl;
       cout<<"Offered Salary = 1500 OMR & 1000 OMR "<<endl;
       cout<<"Interview Date: 01/04/2021";
   }
   else if(candidate==30){
       cout<<"The Candidate is eligible for the Programmer and Technical Support Job Category."<<endl;
       cout<<"Offered Salary = 1000 OMR"<<endl;
       cout<<"Interview Date: 01/04/2021";
   }
   else if(candidate==40){
       cout<<"The Candidate is eligible for the Programmer and Technical Support Job Category & Technicians and Assistants."<<endl;
       cout<<"Offered Salary = 1000 OMR & 600 OMR "<<endl;
       cout<<"Interview Date: 01/04/2021";
   }
   else if(candidate==50){
        cout<<"The Candidate is eligible for the Technicians and Assistants."<<endl;
       cout<<"Offered Salary = 600 OMR"<<endl;
       cout<<"Interview Date: 01/04/2021";
   }
   else{
       cout<<"The Candidate is not eligible"<<endl;
      
   }
   return 0;
 
could you please correct it if there are mistakes
Expert Solution
steps

Step by step

Solved in 2 steps

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