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
- Fall '08
- Computer Science, Imperative programming, efore, original program, Hartmut Kaiser, sub-directory called prog5