program6 - 15-100 PROGRAM 6 FALL 2007Due Monday October 8...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the 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.

Page1 / 2

program6 - 15-100 PROGRAM 6 FALL 2007Due Monday October 8...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online