Reference no: EM131895966
Assignment
Create a program that analyzes the vowels in a character string. Define a null-terminated string of alphanumerical characters. For example: "In phonetics, a vowel is a sound in spoken language, such as an English ah! or oh!, pronounced with an open vocal tract".
The program has to have the following subroutines:
- only for ARM200: a printing subroutine that prints the entry and resulting string.
- a subroutine that takes a character and analyzes whether the character is a vowel. If the character is a vowel, converts the vowel in uppercase and increments a count of vowels.
A main subroutine in sequence:
- only for ARM200: first prints the original string
- calls the subroutine that parses the string
- for every character calls the subroutine for vowel analysis
- replaces the received character back in the string
- only for ARM200: at the end prints the resulting string and the count of the vowels.