上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页
摘要: HTML2 文本框: 密码框: 文本域:123 单选按钮: 男 女 复选按钮: 汉堡 鸡腿 薯条 可乐 文件浏览: 下拉列表: 阅读全文
posted @ 2016-05-19 14:41 庚xiao午 阅读(223) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.o 阅读全文
posted @ 2016-05-18 15:44 庚xiao午 阅读(245) 评论(0) 推荐(0) 编辑
摘要: 一、概念 conception 函数体内调用本函数自身,直到符合某一条件不再继续调用。 二、应满足条件 factor 1、有反复执行的过程(调用自身); 2、有跳出反复执行过程的条件(函数出口); 三、例子 example 四、注意事项 notice 1、递归中必须要存在一个循环结束的条件 2、递归 阅读全文
posted @ 2016-05-16 15:54 庚xiao午 阅读(121) 评论(0) 推荐(0) 编辑
摘要: /// <summary> /// 99口诀表,一行一行打印 /// </summary> 阅读全文
posted @ 2016-05-14 16:37 庚xiao午 阅读(461) 评论(0) 推荐(0) 编辑
摘要: //结构体:定义一组变量 struct student { public int number; public string name; public string sex; public one xx; } s... 阅读全文
posted @ 2016-05-14 16:19 庚xiao午 阅读(136) 评论(0) 推荐(0) 编辑
摘要: /// /// 1、篮球从20米高度落地,弹起高度是上次的3/4, /// 输入次数算出高度(有参数,有返回值) /// /// /// public double basketball (int times) { double height=20.0; for (int i = 1; i /// 2... 阅读全文
posted @ 2016-05-13 22:33 庚xiao午 阅读(287) 评论(0) 推荐(0) 编辑
摘要: int a = int.Parse(Console.ReadLine()); 阅读全文
posted @ 2016-05-12 10:17 庚xiao午 阅读(317) 评论(0) 推荐(0) 编辑
摘要: //1、没有返回值,没有参数 public void leijia() { //累加求和 Console.Write("请输入一个整数:"); int a = int.Parse(Console.ReadLine()); int sum=0; ... 阅读全文
posted @ 2016-05-11 16:02 庚xiao午 阅读(128) 评论(0) 推荐(0) 编辑
摘要: //ArrayList集合 //定义: ArrayList al = new ArrayList(); //添加元素:追加到集合的最后 al.Add(1); al.Add(2); al.Add(3); al.Add(4); ... 阅读全文
posted @ 2016-05-11 12:00 庚xiao午 阅读(179) 评论(0) 推荐(0) 编辑
摘要: // 一维数组 // 定义方式:int [ ] 变量名 = new int [ n ]; // 初始化:int [ ] myArray = new int [ ] {1,2,3,4,5}; string [] weekdays = new string [] {"Sunday","Monday"," 阅读全文
posted @ 2016-05-10 23:14 庚xiao午 阅读(104) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 下一页