Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

PERL counting words that are missing a vowel

Name: Anonymous 2011-06-04 16:02

Write a program called no_vowels.pl that will count
how many words DO NOT have an 'a' or an 'A',
how many DO NOT have an 'e' or an 'E',
how many DO NOT have an 'i' or an
'I', and so on.

The output should look like the below. 
Note that the letters must be listed in decreasing order of frequency

14000 words do not have an 'u'
11258 words do not have an 'o'
10123 words do not have an 'i'
11523 words do not have an 'a'
10111 words do not have an 'e'

Name: Anonymous 2011-06-09 15:34

>>65
I program for a commercial Unix for a living. C is all I do. I've heard several people say the same thing I did.

Like it or not, C IS a shit language. It has very few language features and the standard libraries are pretty bare.

Sure it's fast and there's compilers for it for almost everything, but as a language itself, it is shit.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List