Search:

Type: Posts; User: PhHein

Search: Search took 0.12 seconds.

  1. Replies
    19
    Views
    1,386

    Re: How do I do this, code supplied

    It's there, because the first thing you do in your outer loop is printing a new line. I bet when you used the pencil, the first thing was drawing a *, not moving to a new line :D
  2. Replies
    19
    Views
    1,386

    Re: How do I do this, code supplied

    From my earlier reply
  3. Replies
    19
    Views
    1,386

    Re: How do I do this, code supplied

    As I cannot see your inner loop, it's hard to tell. Please always post your complete code, so that members see your actual version.
  4. Replies
    19
    Views
    1,386

    Re: How do I do this, code supplied

    Then your pencil is broken! Your outer loop only runs four times. I will not provide any code, that's your task. I'll only give, in your perception, unhelpful advice.
  5. Replies
    19
    Views
    1,386

    Re: How do I do this, code supplied

    You have to seperate the line breaks from the output of the *.
    The two nested loops are a good start. Do it again with paper and pencil and find out how often each loop should run.
Results 1 to 5 of 5