User forums > Using Code::Blocks
Please help me with a code or a clue im a first year and im struggling
(1/1)
Thando07:
In statistics the mode is the most frequently occurring value in a data-set, it is not
guaranteed to be unique e.g. 3,2,2,4,5,6,1,4,3,2,10,1,1 the modes are 1 and 2.
Write a function based C++ program to calculate the modal values in an array of
integers. The size of this array should be set by a constant in a header file. Since the
result is not always a single value your function must populate a results array.
Write a separate test function which uses predetermined arrays to test your library.
Write a separate test function which uses randomly generated arrays to test your
library.
Write a menu system which allows the user to select between randomly generated
values and predetermined test data.
stahta01:
Please read how to ask a smart question http://www.catb.org/esr/faqs/smart-questions.html
Please read the rules for this site http://forums.codeblocks.org/index.php/topic,9996.0.html
Tim S.
Jenna:
Not related to Code::Blocks in any wa, so violating our forum rules.
Topic locked !!!
Navigation
[0] Message Index
Go to full version