Question #42555
how to program this using two for loops in java
*
**
***
****
1
Expert's answer
2014-06-26T10:44:08-0400
public class Main {    public static void main (String[] agrc) {        for ( int i = 1; i < 10; i++ ) {            for ( int j = 1; j < 10; j++ ) {                System.out.print (j + " | ");            }            System.out.println();        }    }}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

kaveen
25.05.14, 21:15

replacing #42555 how to program this using java * ** *** **** use:- 1) two for loops 2) "system.out.print" and "system.out.println" i think it can understand now

LATEST TUTORIALS
APPROVED BY CLIENTS