Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: Thando07 on March 25, 2015, 11:25:53 pm

Title: Please help me with a code or a clue im a first year and im struggling
Post by: Thando07 on March 25, 2015, 11:25:53 pm
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.
Title: Re: Please help me with a code or a clue im a first year and im struggling
Post by: stahta01 on March 25, 2015, 11:51:09 pm
Please read how to ask a smart question http://www.catb.org/esr/faqs/smart-questions.html (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 (http://forums.codeblocks.org/index.php/topic,9996.0.html)

Tim S.
Title: Re: Please help me with a code or a clue im a first year and im struggling
Post by: Jenna on March 26, 2015, 06:22:15 am
Not related to Code::Blocks in any wa, so violating our forum rules.

Topic locked !!!