- Category:
- File Formats
- Tags:
-
- File Size:
- 1kb
- Update:
- 2013-05-15
- Downloads:
- 0 Times
- Uploaded by:
- xyzhu
Description: Print a number-triangle
Write a program that asks a user to input an integer number that is greater than 0 and
smaller than 10, and then outputs a number-triangle. For example, if the input is 2, the
number-diamond looks like this:
1
121
If the input is 5, the number-diamond looks like this:
1
1
121
12321
1234321
123454321
To Search:
File list (Check if you may need any files):
Project1.dev