An algorithm is needed to count and display the number of uppercase vowels in a string. The uppercase vowels are 'A', 'E', 'I', 'O', and 'U'.
The completed algorithm must:
Complete the pseudocode algorithm below by writing the missing statements in the spaces provided.
SET phrase TO 'AERODYNAMIC'
// 1. Initialize the counter variable
FOR EACH character FROM phrase DO
// 2. Check if the character is an uppercase vowel
// 3. Increment the counter
// 4. End the conditional block
END FOREACH
// 5. Create the combined message string and print it