In this program we will take a look on working of queue by craeting, inserting, deleting and displaying an queue.
program:
#include<iostream>
#include<conio.h>
using namespace std;
class queue{
private:
int front,counter,maxsize,rear,q[5];
public:
queue();
void create();
...
John Johnson
“ First, solve the problem. Then, write the code. ”