Chinaunix首页 | 论坛 | 博客
  • 博客访问: 346443
  • 博文数量: 81
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 847
  • 用 户 组: 普通用户
  • 注册时间: 2015-03-25 22:29
个人简介

执一不失,能君万物http://weidian.com/s/284520723?wfr=c

文章分类

全部博文(81)

文章存档

2016年(11)

2015年(70)

我的朋友

发布时间:2015-06-27 13:50:08

嵌套循环【break与continue的使用】<br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code668')">此处</span>)折叠或打开</p></div><div id="code668" class="codeText"><ol style="margin:0 1px 0 0px;padding-left:40px;" start="1" class=.........【阅读全文】

阅读(1977) | 评论(0) | 转发(0)

发布时间:2015-06-25 09:27:39

<span style="color:#000000;"><span style="color:#FF9900;">10000内的质数</span></span><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code513')">此处</span>)折叠或打开</p></div><div id="code513" class="codeText"><ol style="marg.........【阅读全文】

阅读(1348) | 评论(0) | 转发(0)

发布时间:2015-06-25 09:05:43

1*1=1<br />2*1=2&nbsp;&nbsp; 2*2=4<br />3*1=3&nbsp;&nbsp; 3*2=6&nbsp;&nbsp; 3*3=9<br />4*1=4&nbsp;&nbsp; 4*2=8&nbsp;&nbsp; 4*3=12&nbsp; 4*4=16<br />5*1=5&nbsp;&nbsp; 5*2=10&nbsp; 5*3=15&nbsp; 5*4=20&nbsp; 5*5=25<br />6*1=6&nbsp;&nbsp; 6*2=12&nbsp; 6*3=18&nbsp; 6*4=24&nbsp; 6*5=30&nbsp; 6*6=36<b.........【阅读全文】

阅读(1274) | 评论(0) | 转发(0)

发布时间:2015-06-24 19:23:16

从键盘读入个数为10的整数,并判断读入的正数和负数的个数<br /><br /><div><div class="codeheads"><p>点击(<span style="cursor:pointer;color:red;" onclick="code_hide('code308')">此处</span>)折叠或打开</p></div><div id="code308" class="codeText"><ol style="margin:0 1px 0 0px;padding-l.........【阅读全文】

阅读(2004) | 评论(0) | 转发(0)

发布时间:2015-06-24 18:09:42

从键盘读入个数不确定的整数,并判断读入的正数和负数的个数,输入为0时结束程序<br />无限循环<br />for(;;){}<br />或者<br />while(true){}<br />说明:一般情况下,在无限循环内部要有程序终止的语句,使用break实现;如果没有,那就是死循环<br /><div><div class="codeheads"><p>点击(<span style="cu.........【阅读全文】

阅读(1494) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册