Dr Nick

(4)

$14/per page/Negotiable

About Dr Nick

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Art & Design,Computer Science See all
Art & Design,Computer Science,Engineering,Information Systems,Programming Hide all
Teaching Since: May 2017
Last Sign in: 340 Weeks Ago
Questions Answered: 19234
Tutorials Posted: 19224

Education

  • MBA (IT), PHD
    Kaplan University
    Apr-2009 - Mar-2014

Experience

  • Professor
    University of Santo Tomas
    Aug-2006 - Present

Category > Programming Posted 02 Aug 2017 My Price 14.00

Enqueue data into queue

Write a C++ program to implement a queue using linked lists. The program should provide the following functionality:

  • Enqueue data into queue
  • Dequeue data from queue
  • Print data at the front
  • Print data at the back
  • Print the entire queue
  • Check if the queue is empty
  • Print the number of elements in the queue

Test your program using at least the following test cases (considering the queue includes integers):

  1. Check if the queue is empty: Option F.
  2. Enqueue 7 into the queue: Option A.
  3. Enqueue 4 into the queue: Option A.
  4. Check if the queue is empty: Option F.
  5. Dequeue data form the queue.
  6. Print the number of elements in the queue: Option G.
  7. Enqueue 5 into the queue: Option A.
  8. Print the number of elements in the queue: Option G.
  9. Check if the queue is empty: Option F.
  10. Print data at the front: Option C.
  11. Print data at the back: Option D.
  12. Print entire queue: Option E.

Answers

(4)
Status NEW Posted 02 Aug 2017 08:08 AM My Price 14.00

----------- He-----------llo----------- Si-----------r/M-----------ada-----------m -----------Tha-----------nk -----------you----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------acq-----------uis-----------iti-----------on -----------of -----------my -----------pos-----------ted----------- so-----------lut-----------ion-----------. P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------amÂ----------- on-----------lin-----------e o-----------r i-----------nbo-----------x m-----------e a----------- me-----------ssa-----------ge -----------I w-----------ill-----------

Not Rated(0)