Implement a Queue*

Write code to implement a simple Linear Queue, of no fixed size, using a zero based dynamic array.

Refer to the diagram in ‘Implementing a Queue’ for guidance.

You solution should have a simple user interface . When the option to enqueue an item is selected, an input box should be displayed to prompt for the new item. When the option to dequeue an item is selected, a message box should be displayed to report that it has been removed.

You should observe the queue in action by using the locals window when stepping through the code (do not attempt to emulate the queue in action on the form).

To perform this task, you will need to use a zero based dynamic array.