CSC 234 - Lab 1

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

  1. DoubleLetters.java
To hand in your Lab 1 files, follow the steps listed below from the Wright Lab computers:
  1. Open the Terminal application.
  2. Type cslogin to connect with the cs server.
  3. Type in your username.
  4. Type in your password.
  5. This should mount your cs directory to these machines. Change into this directory with cd cs_server.
  6. Make a new directory with mkdir csc234
  7. Make a new directory with mkdir csc234/lab1
  8. Log out of the cs server with cslogout