Vous êtes sur la page 1sur 1

Exercise 07 Write an algorithm that accepts a letter from the alphabet and determines whethe r it is a vowel or a consonant.

Step 1: Start the algorithm. Step 2: Accept the letter. Step 3: If the letter is a , A , 'e','E', I , o , O , u , or U , the letter is a vowel Step 4: Else, the letter id s consonant. Step 5: End the algorithm.

Vous aimerez peut-être aussi