Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 407 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 407 Bytes

Find the vowels

  • given a string, find all the vowels in the string. Store them in a new string
  • example:
    • parameters: "four score and seven years ago"
    • return: "ouoeaeeeaao"

human-level instructions

  • create variable to store vowels
  • begin loop
    • get each letter, one at a time
    • compare it with each each vowel and see if it matches
      • if it is, add it to the vowel variable
  • repeat