Re: Open a file and count vowels



Matt <mattaseymour@xxxxxxxxx> wrote:

I am trying to create a program which will allow the user to open there
desired text file and count the number of Vowels, and lines in the
text. As of yet i cant find or dont know how to produce this program. I
need to use Java was wondering if anyone has any ideas.

Use the classes and methods in the java.io package to open the file.
Your friendly Java reference can tell you more. Read each line. Keep
count. Look at each character and see if it's a vowel. Keep count.

It should be beyond trivial for you to demonstrate 0.00001% effort and
1) use Google as a source of information, 2) read your friendly
textbook, and 3) try it yourself.

--
C. Benson Manica | I *should* know what I'm talking about - if I
cbmanica(at)gmail.com | don't, I need to know. Flames welcome.
.



Relevant Pages

  • Re: Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this ... Your friendly Java reference can tell you more. ...
    (comp.lang.java.programmer)
  • Re: Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this program. ... Your friendly Java reference can tell you more. ...
    (comp.lang.java.programmer)
  • Open a file and count vowels
    ... desired text file and count the number of Vowels, ... As of yet i cant find or dont know how to produce this program. ... need to use Java was wondering if anyone has any ideas. ...
    (comp.lang.java.programmer)
  • Re: [PHP] preg_match
    ... > i cant find de way to add vowels with accent (���,,,� and other ... > characters to the preg_match function. ...
    (php.general)
  • Re: How many vowels did ancient Egyption language have?
    ... I have some modern sylaberies and I see the admonition that we dont know ... languages like gree, which give us some clues as to the old vowels. ... Coptic is a direct descendant of Ancient Egyptian anmd is still in use as ...
    (sci.lang)