Advertisement
Guest User

Untitled

a guest
Sep 23rd, 2012
3,212
1
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 1 0
  1. 1. Write a recursive function called sumDigits to return the sum of all of the digits in a given integer value. Use a helper function if necessary.
  2.  
  3. 2. Write a recursive function called countVowels that returns the number of vowels in a given String. (You can assume that the letter "y" is not a vowel.) Use a helper function if necessary.
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement