Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  StarTringle
Language: JAVA
Code:
public class StarTriangle {

    public static void main(String[] args) {
    int i,j,k;
    for(i=1 i<=4; i++)
    {
    For(j=3; j>1; j--)
    System.out.println(" ");
    For(k=1; K<=(2*i-1);k++)
    System.out.println("*");
    System.out.println();}
        
    }

}          
Comments: