Write a program which asks the user to write some text before analysing it to see how many occurrences of each vowel appears in that text, you should store the number of occurrences of each vowel in an array of size 5. (Hint: use qin for this, with the ‘Return’ key to terminate input. ASCII code for ‘Return’ is 13)
Adapt this program to produce some more statistics about the text, this may include some or all of the following...
● The vowel that occurs most/least often
● The average (mean) number of occurrences for the vowels
● A list of vowels, ordered by number of occurrences
● You could even use the Cursor and Colour controllers to draw a histogram!
REALLY DONT KNOW WHERE TO START : iv not been in uni for a month due to an unforgeable death