2024-05-13 02:50:45
2024-05-13 03:59:44
import java.util.Scanner;
public class Test050 {
/**
* @param args
*/
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int n = s.nextInt();
for(int i = 0; i < n; i++){
int count = i + 1;
for(int j = 0; j < n - i - 1; j++){
System.out.print(" ");
}
for(; count > 0; count--){
System.out.print("* ");
}
System.out.println();
}
}
}
2024-05-13 03:46:22
2024-05-13 00:57:46