이연경/Yeon/src/main/java/study/Study.java
<gh_stars>0package study;

import java.util.Scanner;

public class Study {

    public static void main(String[] args) {


        for(int i=0;i<5;i++){
            for(int j=0;j<3-i;j++){
                System.out.print(" ");
            }
            for(int j=0;j<2*i+1;j++){
                System.out.print("*");
            }
            System.out.println("");
        }


    }


    }



