Standard deviation, bubblesort and others

This is a discussion on Standard deviation, bubblesort and others within the C++ Programming forums, part of the General Programming Boards category; Hey guys, I am looking for a bit of advice on a program structure to calculate mean, mode , median ...

  1. #1
    Registered User
    Join Date
    Mar 2002
    Posts
    1

    Standard deviation, bubblesort and others

    Hey guys,

    I am looking for a bit of advice on a program structure to calculate mean, mode , median and standard deviation of an array of numbers.
    Who can get me started, lead in the right direction????
    I have the basic code already and I am just looking for the structure of the program, i.e. what comes first, second.........
    But more important is why!!!!
    Thanks for your time and interest,
    Rolf

  2. #2
    Registered User
    Join Date
    Mar 2002
    Posts
    13
    You can perform any of those in any order. As long as you dont change the array contents. Create a duplicate array of numbers for each of the operations which you can discard once you are finished the operation.

    And if you are actually looking for how to calculate the mean, mode etc I suggest you goto www.google.com and search for them there.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21