충분히 쌓여가는
별찍기 본문
**********
**********
**********
**********
**********
import java.util.Scanner;
public class practice {
public static void main(String[] args) {
System.out.println("**********");
System.out.println("**********");
System.out.println("**********");
System.out.println("**********");
System.out.println("**********");
}
}
import java.util.Scanner;
public class practice {
public static void main(String[] args) {
for (int i=0; i<5; i++){
System.out.println("**********");
}
}
}
import java.util.Scanner;
public class practice {
public static void main(String[] args) {
for (int i=0; i<5; i++){
for (int j = 0; j < 10; j++) {
System.out.print("*");
}
System.out.println();
}
}
}
*
**
***
****
*****
import java.util.Scanner;
public class practice {
public static void main(String[] args) {
for (int i=1; i<=5; i++){
for (int j = 0; j < i; j++) {
System.out.print("*");
}
System.out.println();
}
}
}