This preview shows page 1. Sign up to view the full content.
Unformatted text preview: Add the information how many students fall into each category to the generated output. Download the original program to modify from here: http://www.cct.lsu.edu/~hkaiser/fall_2011/csc1254/code/median_grades.cpp . 3. Extend the word counting program (you can download the original program here: http://www.cct.lsu.edu/~hkaiser/fall_2011/csc1254/code/counting_words.cpp ) to produce its output sorted by occurrence count. That is, the output should group all the words that occur once, followed by those that occur twice, and so on. 4. The cross-reference program could be improved: as it stands, if a word occurs more than once on the same input line, the program will report that line multiple times. Change the code so that it detects multiple occurrences of the same line number and inserts the line number only once. You may download the original program from here: http://www.cct.lsu.edu/~hkaiser/fall_2011/csc1254/code/cross_reference.cpp ....
View Full Document
This note was uploaded on 12/29/2011 for the course CSC 1254 taught by Professor Blanks,l during the Fall '08 term at LSU.
- Fall '08
- Computer Science