Solution Review 1: Let's Find the Total Number of Vowels
This lesson provides a detailed review of the solution to the challenge in the previous lesson.
We'll cover the following...
We'll cover the following...
Solution: How many vowels were there?
Understanding the Code
Every recursive code has two functions; the recursive function and the main function.
Driver Function
The recursive function is called within the driver function so lets first look at what it does, from line 20 to 31.
- There are three calls made to the recursive function and for each call, it prints the given string and the total number