Question: Exercice 2 (10 points): a-In SLL class, write a recursive function called public int CountOdds (SLL Ist) which counts the number of nodes containing ODD
Exercice 2 (10 points): a-In SLL class, write a recursive function called public int CountOdds (SLL Ist) which counts the number of nodes containing ODD values in a SLL b-Then, in a void main method, create the following SLL Also print the count of odd values. first last 100 300 ON
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
