//CIS 610-251: Queues and Link Lists //Assignment # 4 Question # 5 //Due Oct 14,1999 //Pripority Queue Ordered. #include #define MAX 5 class Queue { private: int * queue; int rear,front,total; bool Insert2(int); public: int pqMinDelete(void); bool Insert(int); void Empty(); bool isEmpty(); Queue(); }; Queue::Queue() { queue=new int[MAX]; rear=front=total=0; } //EnQueue an integer n and Sort. //Successful insertion return true; bool Queue::Insert(int n) { if (Insert2(n)) { int arr[MAX],tot=total,i,j,temp; for(i=0;i