会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
顾仁豪
博客园
首页
新随笔
联系
订阅
管理
2019年12月24日
实验6
摘要: #include <stdio.h> #include <stdlib.h> const int N=5; // 定义结构体类型struct student,并定义STU为其别名 typedef struct student { long no; char name[20]; int score;
阅读全文
posted @ 2019-12-24 22:17 顾仁豪
阅读(124)
评论(1)
推荐(0)
2019年12月17日
实验5
摘要: part 1: A. &a[1][2] B. a[0] + 5 C. p + 5 D. *q + 5 E. *(q+1) + 2 F. &a[0][0] + 1*3 + 2 G. a[0] + 1*3 + 2 // 练习:使用二分查找,在一组有序元素中查找数据项 // 形参是数组,实参是数组名 #i
阅读全文
posted @ 2019-12-17 22:28 顾仁豪
阅读(95)
评论(2)
推荐(0)
2019年12月3日
实验四
摘要: int fun(int n,int m,int bb[N]) { int i,j,k=0,flag; for(j=n;j<=m;j++) { flag=1; for(i=2;i<j;i++) if(j%i==0) { flag=0; break; } if(flag==1) bb[k++]=j; }
阅读全文
posted @ 2019-12-03 20:01 顾仁豪
阅读(217)
评论(2)
推荐(0)
2019年11月20日
实验3
摘要: #include <stdio.h> #include <stdlib.h> int main() { int number, max, min, n; n=1; printf("输入第%d个数: ", n); scanf("%d", &number); max = number; min = nu
阅读全文
posted @ 2019-11-20 23:43 顾仁豪
阅读(109)
评论(1)
推荐(0)
2019年11月5日
实验2
摘要: #include <stdio.h> int main() { double x,y; char c1,c2,c3; int a1,a2,a3; scanf("%d%d%d",&a1,&a2,&a3); printf("%d,%d,%d\n",a1,a2,a3); scanf("%c%c%c",&c
阅读全文
posted @ 2019-11-05 23:09 顾仁豪
阅读(132)
评论(2)
推荐(0)
2019年10月20日
实验1
摘要: 体验感想:操作不熟练,规则不清晰,全程翻课本,百度。
阅读全文
posted @ 2019-10-20 12:43 顾仁豪
阅读(116)
评论(0)
推荐(0)
公告