Question: Task 1 : Write a recursive function, vowelsCount that returns the number of vowels in a string. Let s assume that y is not a

Task1:
Write a recursive function, vowelsCount that returns the number of vowels in a string. Lets assume that y is not a vowel.
Task2:
Write a recursive function, reverseDigits that takes an integer as a parameter and returns the number with the digits reversed.
Write a tester for both functions.
Option1: make simple calls in main function
Option2: have multiple input in a file process it and store the output in another file.
Option3: have a vector of numbers/words to process send the output to another vector/list/set/[pairs]...

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!