Part 1: Counting




Document: Software Engineering 1: Course Notes

next Part 2: Statistics
up Session 10: Week 19/20: Letter Frequencies
previous Session 10: Week 19/20: Letter Frequencies

Part 1: Counting

Your first task in this exercise is to write a program which will read a file (using getchar() as usual), and count how many times each alphabetic character occurs. It should ignore distinctions between upper and lower case, and should ignore all non-alphabetic characters.gif When the file has been completely read, the program should output a table showing the count for each of the letters A to Z.

As usual, you should test your program carefully, and document any problems etc. in your report.



McMullin@ugmail.eeng.dcu.ie
Wed Mar 15 10:20:49 GMT 1995