Unformatted text preview: short frequencyArraySize ); /*Calculates the frequency of each of the integers 2. .12 in intArray and stores results in frequencyArray*/ void FindExtremeValues ( short arr , short arrSize, short* leastFreqValue, short* mostFreqValue ); /*Finds the least frequent and most frequent values in arr*/ void PrintHistogram ( char* outFileName, short arr , short arrSize ); /*Prints a histogram of the elements of arr into file outFileName*/ In particular, use the C++ I/O system (cin, cout, and associated methods), reference parameters, const in place of # define , suitable inline functions, and a judicious use of both /*. ..*/ and //. .. comments. Grading : • Source code 25% • Compilation, execution, output 75%...
View Full Document
- Fall '08
- Histogram, frequencyArray*/ void FindExtremeValues, arr*/ void PrintHistogram, short arr