if you are given 4 values
a b c d
what is easiest way to *drop the value with the lowest number as a function in C?
thanks
sorry edit
Printable View
if you are given 4 values
a b c d
what is easiest way to *drop the value with the lowest number as a function in C?
thanks
sorry edit
Someone please help me out just gotta remember how to do this and i'm done with this program! thanks.
The problem statement doesn't seem to be very clear.
If you want to only drop the value, then compare their ascii value and then remove it from the array or wherever you're storing it.
Also, don't bump your own threads. Go read the forum announcements again, since you apparently either didn't the first time, or you simply chose to ignore the rules. Either way you're in the wrong.
Furthermore, we don't sit around 24 hours a day waiting to scramble to answer everything that comes along within the instant it's posted. I don't know about everyone else here, but Kermi3 doesn't pay me enough for that.
Quzah.
> what is easiest way to *drop the value with the lowest number as a function in C?
Well the < operator allows you to establish a relation between two things
And a for loop allows you to examine all of them
So combine them both to achieve what you want.
You get payed quzah? I need to have a chat with kermi
No, I don't get paid, that was the whole point. ;) But let me know how that chat works out for ya, maybe I'll have one of my own...
Quzah.