Search:

Type: Posts; User: HeroFlame

Search: Search took 0.07 seconds.

  1. Replies
    8
    Views
    1,766

    Re: Some basic for loops I'm stuck on.

    a = 1;
    int b = 1;
    for (int i = 1; i <= n; i++) //come back to this later
    {
    System.out.print(a + " ");
  2. Replies
    8
    Views
    1,766

    Re: Some basic for loops I'm stuck on.

    I'd post my code, but unfortunately I'm at school and can't access the necessary files for BlueJ on the school server. Thanks anyways.
  3. Replies
    8
    Views
    1,766

    Re: Some basic for loops I'm stuck on.

    That really doesn't help me. I realize what I'm supposed to do, but I can't figure out how to do it.
  4. Replies
    8
    Views
    1,766

    Re: Some basic for loops I'm stuck on.

    I'm aware of the sequence for some, not all.
    I'd post the code I have if I was at school at the moment.
  5. Replies
    8
    Views
    1,766

    Some basic for loops I'm stuck on.

    Sequences for n = 5:


    1 2 6 12 20


    1 2 6 24 120


    1 4 9 16 25
Results 1 to 5 of 5