Data Structure Using C++ (Recursion) Need C++ Code ::: DON'T USE STACK PLEASE JUST Recursion This is a one question >>> 6 function in one code XXXXXXXXXXdon't use cin please Without using stack just...



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



DON'T USE STACK PLEASE JUST Recursion



This is a one question >>> 6 function in one code ....... don't use cin please



Without using stack just Recursion please


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



like picture need please


array !!!!!<br>print all odd elements in backwards order in the array : 1 3 5 7<br>print the count number of values that are below 10 in the array 6<br>print the maximum value in the array : 44<br>linked list !!!!!<br>print all odd elements in backwards order in the linked list : 75 3 1<br>print the count number of values that are below 10 in the linked list : 6<br>print the maximum value in the linked list : 40<br>Press any key to continue . . .<br>

Extracted text: array !!!!! print all odd elements in backwards order in the array : 1 3 5 7 print the count number of values that are below 10 in the array 6 print the maximum value in the array : 44 linked list !!!!! print all odd elements in backwards order in the linked list : 75 3 1 print the count number of values that are below 10 in the linked list : 6 print the maximum value in the linked list : 40 Press any key to continue . . .

Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here