会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AdaLovelace
Ideal is the beacon. Without ideal,there is no secure direction; without direction ,there is no life.
博客园
首页
新随笔
联系
管理
订阅
2018年7月18日
打印杨辉三角
摘要: 杨辉三角最本质的特征是它的两条斜边都是由数字1组成的,而其余的数则是等于它肩上的两个数之和(使用数组实现)。 public static viod main(String args[]){ public void YaHui(){ final int N = 10; //定义一个final类型的变量
阅读全文
posted @ 2018-07-18 15:53 AdaLovelace
阅读(130)
评论(0)
推荐(0)
公告