|
-
May 10th, 2011, 04:06 PM
#6
Re: Find the Lowest of These
 Originally Posted by GCDEF
Code:
int nLowest = num1;
if(num2 < nLowest)
nLowest = num2;
//repeat the last two lines for the remaining numbers
return nLowest;
wow, i cant believe i didnt think of that, lol...
thanks man
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|