The logic in this if statement is flawed. Can you think of a number where that won't evaluate to true?
else if (input >= 60 || input < 3600)
I'm not really sure why you even need the if statements at all.
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 4 of 4
Threaded View
Tags for this Thread |
Click Here to Expand Forum to Full Width |