Not sure what you think would be inefficient.
Get the code to work first. Then if there is a problem change it.
The main inefficiency problem with the code is all the variables instead of using...
Type: Posts; User: Norm
Not sure what you think would be inefficient.
Get the code to work first. Then if there is a problem change it.
The main inefficiency problem with the code is all the variables instead of using...
How about: theDigit1, theDigit2, etc
and countOfDigit1, countOfDigit2, etc
Back to post#5 about this question: How do I omit the last 5 lines?
What is there about those lines that the code can...
Are you sure?
A problem with understanding the code is the way the variables are named.
What do the variables that begin with n hold? And those that begin with i?
Variable names should...
What needs to be compared so the code does not print those lines?