Indeed...Step 1, re-read my last post - it uses an example that points out the problem. Second step if step 1 doesn't help, look at your code and step through - write it out on paper if you have to -...
Type: Posts; User: copeg
Indeed...Step 1, re-read my last post - it uses an example that points out the problem. Second step if step 1 doesn't help, look at your code and step through - write it out on paper if you have to -...
for (int i = l; i <= h; i++)
For the above loop, what will happen if l > h?