Search:

Type: Posts; User: joel1314

Search: Search took 0.29 seconds.

  1. Replies
    13
    Views
    1,286

    Re: Having some nested loop problem

    hmm, i did some correction on the code , now it showing Pattern 1..while the calculation is for pattern 2 , i think it skipped " for (int space = 6; space>=row; space-- ) { output += "\t" ; "
    this...
  2. Replies
    13
    Views
    1,286

    Re: Having some nested loop problem

    blank , it just show pattern I and skipped pattern II
  3. Replies
    13
    Views
    1,286

    Re: Having some nested loop problem

    hmm , this part is not showing in joptionpane output dialog


    nextnextRow:
    for ( int row = 6; row >= 1; row-- ) {
    output += "\n";

    for (int space = 6; space...
  4. Replies
    13
    Views
    1,286

    Re: Having some nested loop problem

    i could get the result i want using same calculation in system.out.print
    but the assignment require us to use joptionpane with countinue label nested for loop, so i dont know which part of my above...
  5. Replies
    13
    Views
    1,286

    Re: Having some nested loop problem

    Hmm , the assignment require me to display number in this pattern

    pattern 1

    123456
    12345
    1234
    123
    12
    1
  6. Replies
    13
    Views
    1,286

    Having some nested loop problem

    Having trouble in result wont displaying pattern II

    Please help to check where is my error in this code for nested loop displaying two number pattern as below .



    i've the same code like this...
Results 1 to 6 of 6