Coursework 1

(b) Number of different vowels in a string

To answer this question you need to write code that will determine the number of different vowels in a string input by the user. By "different vowels" we mean that if the same vowel occurs more than once it is only counted once. Moreover, small and captial versions of the same letter do NOT count as different vowels. Thus, the number given as the answer will always be from 0 to 5 (inclusive).

Examples
INPUT OUPUT
yyyykz 0
A cat sat on a mat 2
Abracadabra 1
Eutopia 5

Template file: