top of page


Vowel Counter Part 2


3 Hard

3 Selection


Write a program that prompts the user to enter a word or phrase and counts the number of vowels (a, e, i, o, u) present in the input, excluding any vowels that appear more than once.

INPUTS: Word or phrase (string)

PROCESSES:1. Accept user input for the word or phrase2. Convert the input to lowercase3. Use selection statements and string manipulation to check each character in the input4. Count the number of unique vowels

OUTPUTS: Number of unique vowels (integer)

Need help with your programming skills?

If you need more help than just independent practise, then we're here for you. Book a 1:1 with us and we will be able to guide you to becoming a proficient programmer who can tackle any of the challenges an exam board can throw at you.

bottom of page