不会在for循环中套用while循环
首先我的思路是分为上下两部分进行
目前最主要的问题是,并不知道上部分的右边对称怎么弄出来
Write a program to print a diamond made up of left-and right-aligned right-angled isosceles triangles, all of positive integer height specified by the user's keyboard input (a positive integer), as follows:
Enter triangle height: 6
************
***** *****
**** ****
*** ***
** **
* *
** **
*** ***
**** ****
***** *****
************