Write the following recursive functions once for an array and once for simply linked list (as member functions) 1. to print all odd elements in backwards order. 2. to count number of values that are below 10. 3. to find maximum value.  Run your functions on the following array  2,7,12,5,0,3,44,1,26 and the following list 4,1,10,3,0,5,24,7,40 6 functions 3 for simply linked list and 3 for array

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
100%

Data Structure Using C++ (Recursion) Need C++ Code ::: 

Write the following recursive functions once for an array and once for simply linked list (as member functions)
1. to print all odd elements in backwards order.
2. to count number of values that are below 10.
3. to find maximum value. 

Run your functions on the following array  2,7,12,5,0,3,44,1,26
and the following list 4,1,10,3,0,5,24,7,40

6 functions 3 for simply linked list and 3 for array 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Operations of Linked List
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