上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 编写一个窗体应用程序,计算n的阶乘,显示其结果,同时,将结果显示在一个标签中。新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算阶乘演示”label2的Text属性改为“请输入需要的阶乘数”... 阅读全文
posted @ 2015-12-14 23:55 翻滚吧炒鸡蛋 阅读(612) 评论(0) 推荐(0) 编辑
摘要: 新建窗体应用程序(如下),新建控件label1,label2,label3,textBOX1,button1,button2label1的Text属性改为“计算闰年演示”label2的Text属性改为“输入年份”button1的Text属性改为“确定”button1的Text属性改为“退出”完整代码... 阅读全文
posted @ 2015-12-14 20:54 翻滚吧炒鸡蛋 阅读(421) 评论(11) 推荐(0) 编辑
摘要: 新建窗体应用程序(如下),新建控件label1,label2,label3,label4,label5,textBOX1,textBOX2,button1,button2label1的Text属性改为“随机数演示”label2的Text属性改为“最大值”label3的Text属性改为“最小值”lab... 阅读全文
posted @ 2015-12-14 11:51 翻滚吧炒鸡蛋 阅读(562) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 21:15 翻滚吧炒鸡蛋 阅读(350) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 04:27 翻滚吧炒鸡蛋 阅读(307) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace 骑... 阅读全文
posted @ 2015-12-12 02:58 翻滚吧炒鸡蛋 阅读(425) 评论(0) 推荐(0) 编辑
摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace do_while... 阅读全文
posted @ 2015-12-09 01:14 翻滚吧炒鸡蛋 阅读(306) 评论(0) 推荐(0) 编辑
摘要: 例子:用c#语言写一个1-16 随机数的程序. 逐个输出且不重复 简单双色球号码生成器:: 双色球随机号码生成器(增加自动选号和手动选号 然后和中奖号码进行对比 确定中奖没): 阅读全文
posted @ 2015-12-08 08:36 翻滚吧炒鸡蛋 阅读(331) 评论(0) 推荐(0) 编辑
摘要: 比较两个数的大小,自定义比较两个整数的大小的方法:如果第一个数大,返回1如果相等返回0如果第一个数小,返回-1在Main()方法中输入两个数,调用这个方法示例: 请输入两个数: 45 56 第二个数大 按任意键继续...... 1 using System; 2 using System.... 阅读全文
posted @ 2015-12-04 11:43 翻滚吧炒鸡蛋 阅读(1104) 评论(0) 推荐(0) 编辑
摘要: 编程输出九九乘法表 1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Threading.Tasks; 6 7 namespace... 阅读全文
posted @ 2015-11-20 23:20 翻滚吧炒鸡蛋 阅读(852) 评论(5) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 下一页