Hi,
I have a weird problem that I have no idea how to solve.
Here's the code and the output: C code - 19 lines - codepad
The jist of my problem is that:
works OK, but displays one less value of array[i][SL] than it should. So what I've done is edit the code like so:Code:while(array[i][SL] > 0){
But I am aware that this is simply masking the real problem. Please help!Code:while(array[i-1][SL] > 0){