willzyba 0 Newbie Poster

I'm sorry to disappoint everyone. But what exactly are you calculating, its certainly not Pascal's Triangle.

If you're in any doubt of what the first few rows of the triangle should look like see: http://en.wikipedia.org/wiki/Pascal_triangle

And some clean code I've found that shows how to calculate any given row in C, is at: <removed spam link>
I know the above posts were made ages ago, but I've been search for code and thought I may as well respond to the above and stop any other 'students' from failing :)

willzyba 0 Newbie Poster

The best solutions I've seen lately for a variety of sorting methods are at: http://www.codecogs.com/pages/catgen.php?category=array/sort

willzyba 0 Newbie Poster

I am wrote a program that generates 20 random numbers from 1-99 and put them into an array. I am trying to sort them with a bucket sort, but I can't figure out how to do it. I have searched google and yahoo for information but everything I find just give me snip its of code. Which doesn't help me figure out how to put it into my code. I have a book but it covers every type of sort but a bucket sort. Please help me.

I assume by now that you've found the answer, but if not check out:
http://www.codecogs.com/d-ox/array/sort/bucketsort.php