Please fix this code I couldn't find the errors.   #include #include #include using namespace std; class candidate { private string cname,city,co

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

Please fix this code I couldn't find the errors.

 

#include <iostream>
#include <string>
#include <cstdio>
using namespace std;
class candidate
{
private
string cname,city,contactno;

int age,qualfication, specialization year_of_pass;
int total_work_exp,emp_status,expected_salary;
public:
{
candidate()
{
name="";
city="";
contactno="";
age = 0;
qualification =-1;
specialization=-1;
year_of_pass=0;
total_work_exp=-1;
emp_status=-1;
expected_salary=0;
}
void displayHeadig()
}

coute<<"\nWelcome to Muscat Recruitment
Agency";
cout<<"\n----------------------------------";
}
void gotPersonalData()
{
cout <« "\n\n\ "Personal Datal";
cout <<"\n\n1-Enter Candidate name: ";
cin>>name;
cout <<"\n2-Enter Candidate age: ";
cins>>age;
cout<"\n3-Enter Candidate Contact No: ";
cin>>contactno;
coute<"\n4-Enter Candidate adtlress(City):";
cin>>city;
}
void getEducatData()
{
cout << "\n\n\"Education\";"

cout <<"\n\n1-Entor Candidate highest
qualification:;"

cout <<"\n Enter 0 for diploma, 1 for Bachelors, 2
{or Masters and 3 for Doctorate:";
cin>>qualification;
fflush(stain);

cout <<"\n1-Enter Candidate specialization: ";
cout<<"\n Enter 0 far non engineering, 1for
cngincering:";

cin>>specialization;

fflush(stain);

cout<<"\n3-Enter Candidate Year af passing: ";
cin>>year_of_pass;
}
void getWorkExpData()
{

cout << "\n\n "Work Experience\"";
cout <<"\n\n-Enter Candidate Total Work
Experionce:";

cin>>total_work_exp;

fflush(stain);

cout <<"\n2-Enter Employment Status: ";
ccout=="\n 0 for Un-Employed and 1 for Employed:";
cins>emp_status;

fflush(stain);

cout<<"\n3-Enter Salary Expectation:";
cin>>expected_salary;
}
void displayResult()
{
coute<<"\n\nOutcome of Candidate Credentials
Review\n";

if (age>55)
{
cout<<"\nThe candidate is nat eligible for any job
because his age is over 55.";
}
else
{
if (qualification == 2 || qualification == 3)
}
if (age >= 35)
{

if (total_work_exp>=10)
}

if ((expected_salary-1500)<=100)
{
cout<<"\nThe candidate is eligible for Analyst and
Management Job Category";
cout<<"\nOtfered Salary is 1500 OMR";
cout<<"\nThe interview date is 01/04/2021";
}
else
{
cout<<"\nThe candidate is nat eligible for Analyst
and Management Job Category";

cout<<"\nThe difference between expected salary
and offered salary is more than 100 OMR";
}
}
else
{
cout<<"\nThe candidate isnot eligible for Analyst
and Management Job Category";

coute<<"\nThe work experience s less than 10
years";

}
}
}

 

 

input
Compilation failed due to following error(s).
main.cpp:30:8: warning: missing terminating " character
coute<<"\nWelcome to Muscat Recruitment
main.cpp:30:8: error: missing terminating
character
coute<<"\nWelcome to Muscat Recruitment
main.cpp:31:7: warning: missing terminating
character
Agency";
main.cpp:31:7: error: missing terminating
Agency";
character
main.cpp:36:7: error: stray '\302' in program
cout <« "\n\n\ "Personal Datal";
main.cpp:36:8: error: stray \253’ in program
cout <« "\n\n\ "Personal Datal";
main.cpp:36:32: warning: missing terminating
character
cout <« "\n\n\ "Personal Datal";
main.cpp:36:32: error: missing terminating
character
Transcribed Image Text:input Compilation failed due to following error(s). main.cpp:30:8: warning: missing terminating " character coute<<"\nWelcome to Muscat Recruitment main.cpp:30:8: error: missing terminating character coute<<"\nWelcome to Muscat Recruitment main.cpp:31:7: warning: missing terminating character Agency"; main.cpp:31:7: error: missing terminating Agency"; character main.cpp:36:7: error: stray '\302' in program cout <« "\n\n\ "Personal Datal"; main.cpp:36:8: error: stray \253’ in program cout <« "\n\n\ "Personal Datal"; main.cpp:36:32: warning: missing terminating character cout <« "\n\n\ "Personal Datal"; main.cpp:36:32: error: missing terminating character
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