Search:

Type: Posts; User: mattio87

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,339

    Thanks very much, i understand it now.

    Thanks very much, i understand it now.
  2. Replies
    9
    Views
    1,339

    If so, why does the answer say that it prints 5...

    If so, why does the answer say that it prints 5 letters 'x'?

    Am i just being stupid? lol
  3. Replies
    9
    Views
    1,339

    I still dont understand it Kurt, it says i=1...

    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 :(
  4. Replies
    9
    Views
    1,339

    Yes, i would have thought it would have printed 4...

    Yes, i would have thought it would have printed 4 x's not five.
  5. Replies
    9
    Views
    1,339

    Quick question

    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...
Results 1 to 5 of 5