Sunday, August 14, 2011

C++ help writing code please.....?

Your loop should be ct < num_cles, you've written while ct is GREATER than num_cles instead of less than. You could also wrap all of that up in a single loop, using a do...while instead of while...do, by using do while the loop will always run at least once

No comments:

Post a Comment