63 816
Assignments Done
99,5%
Successfully Done
In August 2018

Answer to Question #42555 in Java | JSP | JSF for Kavindu

Question #42555
how to program this using two for loops in java
*
**
***
****
Expert's answer
´╗┐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

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions