0

How To Implement Using Double Linked List Structure in C++ function DisplayEven(...) that displays only the even elements inserted by the user.

4
Contributors
5
Replies
32
Views
3 Years
Discussion Span
Last Post by maheshd13
0

Clarify what you want: Are you talking about to show even numbers or data inserted at even positions??

What you have done?
post here enen wrong.

Edited by dev90

0

Write a C++ code that implements a doubly linked list structure that contains float elements, and
then do the following:
1.Implement a function DisplayDequeue(…) that displays the inserted elements in a way
like the dequeue function in the queue, Example: input= 1.5 , 3.5, 10, 0.5
output= 1.5, 3.5, 10, 0.5
2. Implement a function DisplayEven(...) that displays only the even elements inserted by
the user. i.e.: element number 0, element number 2, etc.
3. Implement a function DisplayOdd(...) that displays only the odd elements inserted by the
user. i.e.: element number 1, element number 3, etc

0

Do the assignment one part at a time, don't attempt to do them all at once. Write/compile/test the first part of the assignment. If you have problems post your code here and ask questions. No one is going to write your assignment for you.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.