会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
www116
博客园
首页
新随笔
联系
订阅
管理
2025年12月31日
实验七
摘要: 任务4 #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 1000 int main() { FILE* fp; fp = fopen("C:\\Users\\SYX\\Downloads\\实验7数据文件及部分
阅读全文
posted @ 2025-12-31 11:56 www116
阅读(6)
评论(1)
推荐(0)
2025年12月27日
实验六
摘要: text1 #include <stdio.h> #include <string.h> #define N 10 // 运行程序输入测试时,可以把N改小一些输入测试 typedef struct student { int id; // 学号 char name[20]; // 姓名 char s
阅读全文
posted @ 2025-12-27 14:23 www116
阅读(11)
评论(1)
推荐(0)
2025年12月12日
实验五
摘要: 任务1(1) #include <stdio.h> #define N 5 void input(int x[], int n); void output(int x[], int n); void find_min_max(int x[], int n, int *pmin, int *pmax)
阅读全文
posted @ 2025-12-12 14:15 www116
阅读(7)
评论(1)
推荐(0)
2025年11月17日
实验四
摘要: 实验任务1 q1:是连续存放的,两者相同 q2:是连续存放的 相同 相差16 地址位置相差十六个字节 实验任务2 q1:形参x[ ] 实参x q2:input将键入的n个数存入数组 compute是计算数组内除去最高最低值后的平均值 实验任务3 q1:形参x[ ][N] 实参x q2:不可省略 q3
阅读全文
posted @ 2025-11-17 11:54 www116
阅读(20)
评论(1)
推荐(0)
2025年11月3日
实验3
摘要: #include <stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score_to_grade(scor
阅读全文
posted @ 2025-11-03 13:38 www116
阅读(6)
评论(1)
推荐(0)
2025年9月28日
experiment1
摘要: #include<stdio.h> #include<math.h> int main() { double x,ans; while(scanf("%lf",&x)!=EOF) { ans=pow(x,365); printf("%.2f的365次方: %.2f\n", x, ans); prin
阅读全文
posted @ 2025-09-28 15:15 www116
阅读(16)
评论(1)
推荐(0)
公告