main()
{
//declare a pointer to a queue
queue *Q1 = new
queue;
// declare a variable to hold return
value of GetFront().
int x;
// Add five elements to the (back of the) queue
cout<<"Adding
10\n";
Q1->Enqueue(10);
cout<<"Adding
20\n";
Q1->Enqueue(20);
cout<<"Adding
30\n";
Q1->Enqueue(30);
cout<<"Adding
40\n";
Q1->Enqueue(40);
cout<<"Adding
50\n";
Q1->Enqueue(50);
// Delete the Front element of the queue, i.e., 10
Q1->Dequeue();
// Output the Front element of the queue, i.e., 20
x=Q1->GetFront();
cout<<x;
// Empty the queue
Q1->MakeEmpty();
// Add element 70 to the (back of the) queue
Q1->Enqueue(70);
// Output the Front element of the queue i.e., 70
x=Q1->GetFront();
cout<<x;
}