Skip to content

SyahImran/queue-and-tester

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

queue-and-tester

Program that tests a queue created by implementing a queue interface.

The testing program has a menu with the following options:

  1. Print – Prints all the data in the queue
  2. Offer/Add –Adds an item to the back of the queue
  3. Peek/Element – Prints the value of the front item in the queue
  4. Poll/Remove – Removes the front item from the queue and prints its value
  5. Size – prints the number of items in the queue
  6. Get – Prints the item in spot X. (X comes from the user)
  7. Empty – Prints true when the queue is empty and false when it is not
  8. Exit – Closes the program

This program stores Integer on the queue.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages