ScholarMatic | 24/7 Homework Help

ScholarMatic Will Help You Write Your Essays and Term Papers

Answered » You can buy a ready-made answer or pick a professional tutor to order an original one.

Java programming

by | Nov 30, 2023 | questions

I’ll be back in an hour or so…please take your time to give
me a reasonable price (Notice that this program is very simple & common in online
) Thanks.

Document Preview:

Java programming – Due June 23th, 2013 (by 9.am EST)
Note:
For all assignments, always use comments to explain your program.
You must use the names given to name your program. 
Objectives:
1.  To gain experience with string objects.
2.  To gain experience with generic algorithms.
3.  To gain experience with files – opening for input and output.
Documentation:
Explain the purpose of the program as detail as possible – 13%.
Develop a solution for the problem and mention algorithms to be used -16%
List data structures to be used in solution. – 5%.
Give a description of how to use the program and expected input/output – 5%
Explain the purpose of each class you develop in the program. – 5%.
Programming:
For each method, give the pre and post conditions and invariant, if any – 10%
Program execution according to the requirements given 36%
Naming of program as required 5%
Print out of source code 5%
Description of program:
You are to write a program name wordcount.java that prompt the user for a user input file name, reads the input words and do the following with those words:
Count the amount of words in the file. A word can end with a — space, EOLN character or a punctuation mark (which will be part of the word).
Count the amount of lines in the file.
Count the amount of alphanumeric characters in the file.
Count the number of sentences in the file.
Count the amount of vowels in the file – only a, e, i, o, u are vowels.(This includes upper case also…A, E, I, O, U)
Count the amount of punctuations in the file.
You must output the above information both on the screen as well as an output file name “output.txt”.
Here are some requirements for the program:
The program must work even if the input file is empty. If this is the case print a message saying that “the input file is empty” and then terminate the program.
Implementation:
Use as many generic algorithms as possible so that the size of the program can be reduced.

Attachments:


ScholarMatic: Explanation & Answer

Your ready answer from a verified tutor is just a click away for as little as $14.99


  

Click Order Now to get 100% Original Answer Customized to your instructions!

HOME TO CERTIFIED WRITERS

Why Place An Order With Us?

  • Certified Editors
  • 24/7 Customer Support
  • Profesional Research
  • Easy to Use System Interface
  • Student Friendly Pricing

Have a similar question?

PLAGIRAISM FREE PAPERS

All papers we provide are well-researched, properly formatted and cited.

TOP QUALITY

All papers we provide are well-researched, properly formatted and cited.

HIGHLY SECURED

All papers we provide are well-researched, properly formatted and cited.

ScholarMatic: Get Started

Assignment Writing Service

Feel safe and secure when placing an order on our portal!
Fruitful cooperation begins with solid guarantees, and we are professional enough to promise perfect results. Let’s get it started!