Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

c++ building and using a queue template I need help with questions 3 and 4. You

ID: 3819227 • Letter: C

Question

c++ building and using a queue template

I need help with questions 3 and 4. You need a queue template, plus a student class that pretty simple to make.

main function should call this function with qdubl and dau gaub qdub2 join (qdubl qaub and then output the queue qdub that is returned class containing a 3. Allows the user to enter any number of student objects, where student is a then displays student's id number (integer) and name not adds separate library a the student. You can for class and the contents of the queue. Note: make a should have the input just put it at the beginning of You the It this program (by output (

Explanation / Answer

#include<iostream.h>

#include<conio.h>

class stud

{

public;

char name[30],class[10];

int age,roll;

void enter()

{

cout<<" Enter the name:";

cin>>name;

cout<<" Enter the roll no.:";

cin>>roll;

cout<<" enter the class:";

cin>>class;

}

void display()

{
cout<< Name Age RollNo. class";

cout<<" "<<name<<age<<roll<<class;

}

};

void main()

{
clrscr();

class stud s

s.enter();

s.display();

getch();

}

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote