- 博客(5)
- 收藏
- 关注
原创 集合
#include "stdio.h" int disc; void equal(int a[],int b[],int n,int m)//判断两个集合是否相等 { if (n==m&&jj(a,b,n,m)==n) { printf("相等!\n"); } else printf("不相等!\n"); } int jj(int a
2018-02-06 12:40:28 247
原创 根据需求输入序号
#include void huiwen(); void sushu(); void qinmi(); void shuixian(); int main() { int n; while(1) { printf("\n >===========welcome============); printf("
2018-02-06 12:36:05 467
原创 鸡兔同笼
#include void mark(); int main() { mark(); return 0; } void mark() { int t,j,S,N; printf("请输入头和脚的数量:"); scanf("%d %d",&S,&N); for(t=1;t<S;t++) { j=S-t; if(4*t+2*j==N) printf("兔子有%d只 鸡有%d只\
2018-02-04 23:26:07 333
原创 百钱买百鸡
#include void buy(); int main() { buy(); return 0; } void buy() { int a,b,c; for(a=1;a100;a++) { for(b=1;b100;b++) { c=100-(a+b); if(a*5+b
2018-02-04 23:21:52 286
原创 图书管理系统
#include #include #include #include #define HEAD1 p->data.Register,p->data.Book_title,p->data.Writer,p->data.Class_num,p->data.Publisher,p->data.Publish_data,&p->data.Price #define HEAD2 p->data.Regis
2018-02-04 23:08:57 352
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人