标签:
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc=new Scanner(System.in); int n=sc.nextInt(); for(int i=n;i>=1;i--){ for(int j=1;j<=i;j++){ System.out.print("* "); } System.out.println(); } } }
标签:
原文地址:http://www.cnblogs.com/watchfree/p/5326379.html