|
|
|
|
|
|
changes
variable being 0 at the top is also why I was certain there was a problem but I've tried just declaring the variable without assigning it an initial value but that has caused the same issues.arrnum
value back to zero each time before the commencement of the inner loop? I had a go bringing the int arrnum=0
line within the scope of the outer loop but that has done nothing. I'm out of ideas I'm afraid, loop syntax definitely not a strong point.