会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
wfxNUli199
博客园
首页
新随笔
联系
订阅
管理
2019年3月23日
实验三:分别用for,while和do-while循环语句以及递归方法计算n!,并算出算式。
摘要: JAVA程序: package wfx;public class wfx { public static void main (String[] args){// for循环语句输出n!/* int i,n=10,ride=1; for(i=1;i<=n;i++) {ride=ride*i; } S
阅读全文
posted @ 2019-03-23 11:43 wfxNUli199
阅读(617)
评论(1)
推荐(0)
编辑
公告