Assignment 2
 

LOOK AT THE BOTTOM OF THIS PAGE FOR UP-TO-DATE INFORMATION

Modifying the CountFile program

Follow these steps to complete this assignment:

  1. Download the CountFile source code. This is the same as the listing on page 586 of the text.
  2. Download this test file.
  3. Make sure the program works by compiling it and running it to read the text file.
  4. Modify the program so that it does not count any spaces in the input file. Test your changes on the same test file.
  5. Modify the program to count the number of upper case letters in the input file and to report both the total number of characters (without spaces) and the number of upper case letters..

You will need the following concepts to complete the task:

Deliverables

Hand in a print of your source code, and the results of the three runs (the original program, ignoring newlines and the vowel counts).

Assignment Due

Monday, 15th September, in class.
 

LATEST INFORMATION