文件名称:Project1
介绍说明--下载内容均来自于网络,请自行研究使用
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
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
(系统自动生成,下载前可以参看下载内容)
下载文件列表
Project1.dev