February 13th, 2014, 02:17 PM
int result = 15/2;
is it that result will now be 7 or 7.5. based on my understanding it will be 7. since it is returning an integer. am I correct to say that the .5 will be discarded.
February 6th, 2014, 01:47 PM
My apology for doing same. I have made the amendment. Thats a valid point you made.thanks again for everything
February 6th, 2014, 12:48 PM
Thanks again. Your assistance was greatly appreciated.
February 6th, 2014, 12:08 PM
understand. so track will always be 0 since there is no incrementation in the code, so it will always be adding 3 to marr [0]
February 6th, 2014, 11:36 AM
Thank you for the clarification
marr[track] = marr[track] + 3; enters the while loop, track will be 0, marr[track] will be marr[3]
is this part correct. is it I should add 3 +23 or 0+3
February 6th, 2014, 10:58 AM
So far I realize that when it enters the while loop, track will be 0, marr[track] will be marr[3]. is this correct or will 23+3 be the correct understanding. Does this mean it will be a infinite loop...