java - Counting loop executions -
I think how often a loop is executed, it is not certain how I would have to go about doing this.
I am using Dr. Java, thanks in advance for your help!
Before the loop, define a count variable:
Int count = 0; Enlarge that step anywhere in the loop:
count ++;
Comments
Post a Comment