Write a C++ code that implements a doubly linked list structure that contains float elements, and
then do the following:
- 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 - Implement a function DisplayEven(...) that displays only the even elements inserted by
the user. i.e.: element number 0, element number 2, etc. - Implement a function DisplayOdd(...) that displays only the odd elements inserted by the
user. i.e.: element number 1, element number 3, etc