1. Are you trying to actually display what the minimum number was? If so, shouldn't you put that into a variable some place when it is less than the current minimum? If so, you don't want to start the value of "minimum" low, you want it high, so that, when you start entering numbers, it will find one lower than your default value, and put it there instead.

Quzah.

2. yes i want the computer to spit out the lowest number that the user entered. So i need to make minimum = a large number when declaring min or do something with this? or neither?
Code:
`   if (input <= maximum)`

3. Do you actually know how to think things out? If so, do it. Walk though it on paper:
Code:
```number = small number
get input
if input less than small number
number = input```
Ok, so what happens if input is greater than small number, and they don't input anything more? Have you saved their smallest input? Yes? No?

Code:
```number = big number
get input
if input less than big number
number = input```

We're not here to do everything for you. If you really don't want to learn, give it up. If you do, then take a moment and actually think about what you're trying to do. It's not a race. Just take your time and figure out what you need to do, and then how to do it.

Quzah.

4. look quzah..if you dont want to help me then dont reply to my post. I can do without the smart comments about my learning ability. I am new at this and dont know what im doing. I dont want you to do everything for me and you have not even come close to doing that. thanks anyway for your help

5. You don't seem to understand. You need to take the time and think through your program. It's not a hard concept. If you want to be a programmer, even as a hobbyist, you have to take the time to think your project through.

You aren't doing that. You are simply saying "this didn't work, now this didn't work". Think about why it doesn't work. Think about what exactly is supposed to happen, and why it is or isn't.

If you don't take the time to learn that process, there is no point in even trying to continue.

Quzah.

6. I think what quzah is trying to point out is that dividing your challenge into logic and specifics portions helps get you to where you're going when you're stuck. For instance, say you're trying to find the end of a string. You know the end of strings always have a special character at the end to mark the end of the string. So you write some logic down.

Code:
```Iterate through string
If current character equals EndOfString marker
Break out of loop```
Then you can turn it into specifics:
Code:
```for(i = 0;;++i)
if(string[i] == '\0')
break;```
The same logic applies to pretty much every programming language and pretty nearly corresponds to how you'd look for the end of a string yourself. So even if you're really new to a programming language you can usually get the logic written down. Then it's just a matter of finding out how the programming language you're using implements that logic.

7. can someone tell me why the minimum is still figuring zero in as a number? what do i need to do to fix this?

Code:
```void findMinimum()
{
int minimum = 0;
int number = 0;
int count = 0;
printf("\nEnter Numbers (Enter 0 to Stop): ");
for(;;)
{
scanf("%d",&number);
if (number != 0)
{
if (count == 0)
minimum = number;
count ++;
if (number < minimum )
{minimum = number; }
}
else
{
printf("\nYou entered %d numbers with a minimum of: %d",count,number);
break;
}
}
}```

8. Originally Posted by Jeff
can someone tell me why the minimum is still figuring zero in as a number? what do i need to do to fix this?

Code:
```void findMinimum()
{
int minimum = 0;```
I don't have the desire or time to keep going over this. I gave you a perfect illustration of this exact series of events, and obviously you, rather than opting to learn from it, ignored it. This has been answered before. All it requires is that you think about what's going on in your code.

Quzah.

9. Originally Posted by quzah
I don't have the desire or time to keep going over this.Quzah.
Then dont!!

10. Code:
```void findMinimum()
{
int minimum = 0;
...
if (number < minimum )
{minimum = number; }```
Unless number is negative it will never be less than minimum.

Like quzah said in an earlier post:
Originally Posted by quzah
you don't want to start the value of "minimum" low, you want it high, so that, when you start entering numbers, it will find one lower than your default value, and put it there instead.

11. He won't, but by that comment, quzah is actually trying to help you, because quzah is not alone in thinking this. If you follow the advice quzah gives to a lot of people on this board, then you are more likely to get more help from lots of other people.