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...
Type: Posts; User: joel1314
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...
blank , it just show pattern I and skipped pattern II
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...
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...
Hmm , the assignment require me to display number in this pattern
pattern 1
123456
12345
1234
123
12
1
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...