#include #include #include class queue { int queue1[5]; int rear, front; public: queue() { rear=-1; front=-1; } void insert(int x) //enque { if(rear > 4) { cout<<"queue over flow"; front=rear=-1; return; } queue1[++rear]=x; cout<<"inserted"<>ch; switch(ch) { case 1: cout<<"Enter te element"; cin>>ch; qu.insert(ch); break; case 2:qu.delet(); break; case 3:qu.display(); break; default: exit(0); } } return (0); }