C语言
文章平均质量分 51
MoronTao
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
加强版-打鱼晒网(文件操作)
#include<stdio.h> int main(){ int day1[12]={31,28,31,30,31,30,31,31,30,31,30,31};//平年每月的天数集合 int day2[12]={31,29,31,30,31,30,31,31,30,31,30,31};//闰年每月的天数集合 int year,month,day,flag=0,year1...原创 2018-09-01 15:16:23 · 285 阅读 · 0 评论 -
简单的最大公约数与最小公倍数代码
#include<stdio.h> int divide(int a,int b)//辗转相除法 { int temp; if(a<b) { temp=a; a=b; b=temp; } while(b!=0) { temp=a%b; a=b; ...原创 2018-09-08 20:56:37 · 1120 阅读 · 0 评论 -
学生信息管理系统
#include<stdio.h> /*I/O函数*/ #include<stdlib.h> /*其它说明*/ #include<string.h> /*字符串函数*/ #define LEN 15 /* 学号和姓名最大字符数,实际请更改*/ #define N 50 /* 最大学生人数,实际请更改*/ char* ...转载 2018-09-08 20:59:25 · 299 阅读 · 0 评论
分享