CS 225 Program 2

CS 225 Fall 1999 Assignment 2 Points: 50 Due Date: September 28, 1999


We have seen some string array handling code in class. Now I want you to practice with using pointers and such in C++;
I want you to write a program that searches a string and counts all the vowels. It should also copy the vowels to a new string and print
out both the number of vowels and the string of vowels. You can decide if 'y' is a vowel. You can also assume the input string is
all lower case. You may read the string in any way you wish.

Hand in the listing. Be sure to explain your method in the comments.