摘要: 一、结构体结构体:就是一个自定义的集合,里面可以放各种类型的元素,用法大体跟集合一样。1、定义的方法:struct student{public int nianling;public int fenshu;public string name;public string sex;public in... 阅读全文
posted @ 2015-11-13 22:06 苍穹丶 阅读(778) 评论(0) 推荐(0) 编辑
摘要: (1)1、输入一个正整数,求N的阶乘2、return(2)、输入一个正整数,求1!,2!.....n!阶乘和(3)、 输入姓名 年龄 工作单位 “我叫” “今年 岁了” “现在在 工作” 在Main函数中接受这三个值 传到函数中... 阅读全文
posted @ 2015-11-13 21:37 苍穹丶 阅读(159) 评论(0) 推荐(0) 编辑