1.打印星星
package test;
import java.util.Scanner;
public class test4 {
public static void main(String[] args) {
//1.提示并接收用户输入的行数
System.out.print("请输入您要打印的星星行数:");
int n = new Scanner(System.in).nextInt()</
1.打印星星
package test;
import java.util.Scanner;
public class test4 {
public static void main(String[] args) {
//1.提示并接收用户输入的行数
System.out.print("请输入您要打印的星星行数:");
int n = new Scanner(System.in).nextInt()</