摘要: 下面是一个由*号组成的4行倒三角形图案。要求:1、输入倒三角形的行数,行数的取值3-21之间,对于非法的行数,要求抛出提示“非法行数!”; 2、在屏幕上打印这个指定了行数的倒三角形。**************** 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace _10正确奇数倒三角 7 { 8 class Program 9 {10 static void Main(string[] args... 阅读全文
posted @ 2012-12-04 10:34 striver_hk 阅读(274) 评论(0) 推荐(0) 编辑