Central Tendency Assignment

This is a discussion on Central Tendency Assignment within the C++ Programming forums, part of the General Programming Boards category; Once again, i am completely lost can someone help me start off this assignment? Assignment Guidelines: Calculates mean, median, mode, ...

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    6

    Central Tendency Assignment

    Once again, i am completely lost

    can someone help me start off this assignment?




    Assignment Guidelines:


    Calculates mean, median, mode, range, and standard deviation
    Has a variable size array

    Fills the array with random numbers

    Sorts the array

    Formatted and commented correctly


    Extra Credit:

    Gives the user the option of sorting with bubble, insertion, and selection sort
    Research and include a different sort algorithm than what has been discussed in class.

  2. #2
    Registered User
    Join Date
    Dec 2007
    Posts
    214
    Break it down into sub problems.

    1. make an array
    2. Fill with random numbers
    3. Sort the array
    4. Calculate mean
    5. Calculate median
    6. Calculate mode
    7. Calculate range
    8. Calculate standard deviation

    Work on them one at a time and build up to the finished program.


    You have no idea how lucky you have it nowadays.

    Let me google that for you

    Let me google that for you

  3. #3
    dra
    dra is offline
    Weak. dra's Avatar
    Join Date
    Apr 2005
    Posts
    166
    If you need help w/ the sorting part, this is probably one of the best sorting tutorials I've found on the web.

    Eternally Confuzzled - The Art of Sorting

  4. #4
    Registered User
    Join Date
    Mar 2009
    Posts
    16
    are u in mr sands class? who is this? i need a lotta help of this assignment too. i can't find the mode

  5. #5
    Algorithm Dissector iMalc's Avatar
    Join Date
    Dec 2005
    Location
    New Zealand
    Posts
    6,308
    I would start here:
    Code:
    int main()
    {
    }
    You make an attempt and then we give you a gentle nudge.
    My homepage
    Advice: Take only as directed - If symptoms persist, please see your debugger

    Linus Torvalds: "But it clearly is the only right way. The fact that everybody else does it some other way only means that they are wrong"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Menu
    By Krush in forum C Programming
    Replies: 17
    Last Post: 09-01-2009, 03:34 AM
  2. Assignment Operator, Memory and Scope
    By SevenThunders in forum C++ Programming
    Replies: 47
    Last Post: 03-31-2008, 07:22 AM
  3. Screwy Linker Error - VC2005
    By Tonto in forum C++ Programming
    Replies: 5
    Last Post: 06-19-2007, 03:39 PM
  4. Help with a pretty big C++ assignment
    By wakestudent988 in forum C++ Programming
    Replies: 1
    Last Post: 10-30-2006, 09:46 PM
  5. Replies: 1
    Last Post: 10-27-2006, 02:21 PM

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