Instructions: Assignment No. 02 SEMESTER Spring 2018 CS301-Data Structures Total Marks: 20 Due Date: 05 /28/2018
Instructions: Assignment No. 02 SEMESTER Spring 2018 CS301-Data Structures Total Marks: 20 Due Date: 05 /28/2018
Instructions
Please read the following instructions carefully before solving & submitting assignment:
It should be clear that your assignment will not get any credit (zero marks) if:
Uploading instructions
GOOD LUCK
Marks: 20
Problem Statement:
A testing service planned to conduct a recruitment test for both male and female candidates. Two different
persons are assigned for the clearance of candidates in examination hall. Invigilator ’M’ will be assigned for male
candidates while Invigilator ’F’ will be assigned for female candidates. In both cases candidates will be served on
first come and first serve basis. Equal number of male and female candidates will appear in test and each
invigilator will verify 25 candidates for the test.
Question:
Write C++ program to implement the above scenario. Your program should use array to implement above
scenario. It should be clear that candidates will be added on rear side of the queue and will be served from front
of the queue
Solution Guidelines:
Sample Output:
Note: Please see the attached Demo Video for the program output.