Given the structures defined below: struct datazypel int integer: float decimal; char ch: atruct nodetypel datatype e nodetype next: Assume the data structures shown above, write a driver function called buildivenSLL that takes two nodeType pointer references, ori and evenSLL. The driver function should build the evenSLL linked list backwards with only values from the linked list referenced by ori whose integer value is even. PASTE CODE HERE/

C++ Programming: From Problem Analysis to Program Design
8th Edition
ISBN:9781337102087
Author:D. S. Malik
Publisher:D. S. Malik
Chapter17: Linked Lists
Section: Chapter Questions
Problem 18SA
icon
Related questions
Question

1. please help me get the correct code in C++ and make sure it runs 

1. Given the structures defined below:
struct dataType(
int integer;
float decimal;
char ch:
atruct nodeTypel
datatype :
nodetype next:
Assume the data structures shown above, write a driver function called buildivenSLL that takes two nodeType pointer references, ori and evenSLL. The
driver function should build the evenSLL linked list backwards with only values from the linked list referenced by ori whose integer value is even.
*PASTE CODE HERE/
Transcribed Image Text:1. Given the structures defined below: struct dataType( int integer; float decimal; char ch: atruct nodeTypel datatype : nodetype next: Assume the data structures shown above, write a driver function called buildivenSLL that takes two nodeType pointer references, ori and evenSLL. The driver function should build the evenSLL linked list backwards with only values from the linked list referenced by ori whose integer value is even. *PASTE CODE HERE/
Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linked List Representation
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
C++ Programming: From Problem Analysis to Program…
C++ Programming: From Problem Analysis to Program…
Computer Science
ISBN:
9781337102087
Author:
D. S. Malik
Publisher:
Cengage Learning