Thanks very much, i understand it now.
Type: Posts; User: mattio87
Thanks very much, i understand it now.
If so, why does the answer say that it prints 5 letters 'x'?
Am i just being stupid? lol
I still dont understand it Kurt, it says i=1 i<=24, so it uses 1 -> 24.
24/6 = 4, giving the amount of separate lines.
I have no idea where the 5 letters of X still come from though :(
Yes, i would have thought it would have printed 4 x's not five.
Hi all,
just a quick question, do you know why the code below would the give the following answers ive given, i understand why they input on the 4 separate lines but the amount of times it prints...