ok, I have to write a code for this question
Create a program that reads a list of vowels (a, e, i, o, u) and stores them in an array. The maximum number of vowels to be read should be obtained from the user before beginning to read the vowels, however, the user may cancel the reading of vowels at any time by entering '#'. The algorithm should then count and display the number of times each vowel appears in the array. Finally the algorithm should also output the index in the array where each vowel first appeared or a suitable message if a particular vowel is not in the array at all.
I don't even know what an array is! We went from learning C Programming straight into Java Programming and now this is the first question that was given.
I've looked at the tutorials on this site but not sure which array I would use for this problem. Can anyone point me in the right direction?