packageday2; importjava.util.Scanner; publicclassTest3{ publicstaticvoidmain(String[]args){ System.out.println("请您输入要打印的金字塔的行数:"); Scannersca=newScanner(System.in); intnu=sca.nextInt(); jinZiTa(nu); } publicstaticvoidjinZiTa(intnn){ System.out.println("您设计的图形为:");