This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: 15-100 PROGRAM 6 - FALL 2007Due: Monday, October 8 by 11:59PM using electronic hand-in BACKGROUNDA speech writer wants to do an analysis of a speech to determine the number of words that are used of a specific length. (Public speeches where words are overly long might be confusing for the general public.) You are hired to write a Java program that reads in a text file that contains a speech containing only words and spaces (no punctuation), and you will output the total number of words in the speech that are 1 letter long, 2 letters long, ..., 9 letters long and the number of words that are more than 9 letters long. ASSIGNMENTDownload the zip file SpeechAnalyzer.zipfrom the course website. This file, when uncompressed, contains a folder that has twoJava classes. Load this project folder into Eclipse. One class is the SpeechAnalyzerclass that contains a main method that you must write that will count the total number of words of each length from 1 to 9 and greater than 9....
View Full Document
This note was uploaded on 01/25/2010 for the course CS 15100 taught by Professor Tom during the Fall '07 term at Carnegie Mellon.
- Fall '07