Assigned Jan 11
Due Jan 20 Beginning of Class
Overview
Write a Java program called DoubleLetters.java
to find all words in a file that have at least two different double letters,
and calculate the percentage of words in the file that meet this condition.
Use english-words.txt
as your sample input file.
Materials
What to turn in
- DoubleLetters.java
To hand in your Lab 1 files, follow the steps listed below from the Wright Lab computers:
- Open the Terminal application.
- Type
cslogin
to connect with the cs server.
- Type in your username.
- Type in your password.
- This should mount your cs directory to these machines. Change into this directory with
cd cs_server
.
- Make a new directory with
mkdir csc234
- Make a new directory with
mkdir csc234/lab1
- Log out of the cs server with
cslogout