As Paul McKenzie mentioned, why do you use both 'units' and 'quantity'? The user input is placed in 'units', but your if-statements etc. are using 'quantity'.
- petter
| CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
|
Results 1 to 15 of 31
Threaded View
|
Click Here to Expand Forum to Full Width |