Peg Test - March 9
Yesterday, Woburn held a singing competition to select the next Woburn Idol. The judges, however, were unfair and judged people simply based on their names. If the number of As in a contestants name was equal to or greater than the other number of other vowels in their name, then they would advance to the next round. Given the name of a contestant, find out if they advance to the next round.
Note: The judges do not consider the letter y a vowel.
A name (less than 256 characters in length)
Output "Advance to next round" if the contestant will advance or "Does not advance to next round" if they do not.
Advance to next round
Does not advance to next round
Point Value: 3
Time Limit: 2.00s
Memory Limit: 16M
Added: Mar 08, 2011
C++03, PAS, C, HASK, ASM, RUBY, PYTH2, JAVA, PHP, SCM, CAML, PERL, C#, C++11, PYTH3