- Category:
- CSharp
- Tags:
-
[WORD]
- File Size:
- 3kb
- Update:
- 2013-06-04
- Downloads:
- 0 Times
- Uploaded by:
- 陈磊
Description: Print out the following Triangle (required to print out 10 rows). 1,111,211,331,146,411,510 10 5 1 1 ..................... algorithm Tip: Let a two-dimensional array: a [11] [11], the Triangle has following characteristics: A, the first column of the array elements and diagonal values are 1 B, other elements: a [i] [j] = a [i-1] [j-1]+a [i- 1] [j] is saved as 1.cpp.
To Search:
File list (Check if you may need any files):
dd\新建 Microsoft Word 文档.doc
dd