# Algorythm help?

This topic is 3655 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

Hey guys, I'm pretty new to all this. I need to know how to 'write an algorythm to find the smallest of 30 numbers' Any help would be greatly appreciated!

##### Share on other sites
Unfortunately, we cannot help with homework questions directly. In certain cases, we can give you hints and clues, but you need to do the majority of the work. For example, if you were to give us code or pseudo code, we could hint at what is incorrect.

If you want such help you will need to outline what you have done so far.

##### Share on other sites
Well the simplest method:
If I personally gave you 30 numbers, how would you find the smallest? What steps would you take?

Instead of 30 numbers, imagine a set of 5 numbers:
{-1,5,-4,9,0}
How would you find the smallest?

Is this for a first year CS course in university? High school?

1. 1
2. 2
3. 3
Rutin
23
4. 4
5. 5
khawk
14

• 9
• 11
• 11
• 23
• 12
• ### Forum Statistics

• Total Topics
633654
• Total Posts
3013168
×