code for making triangle in java ?
Answers
Answered by
1
for (int i=0; i<6; i++)
{ for (int j=0; j<i; j++)
{ System.out.print("*"); }
System.out.println(""); }
{ for (int j=0; j<i; j++)
{ System.out.print("*"); }
System.out.println(""); }
Saad489:
thank you
Answered by
0
please tell the triangle whose code u want ?????
Similar questions