会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
bans
博客园
首页
新随笔
联系
订阅
管理
2025年11月
实验四
摘要: 试验任务一1.一维数组x在内存中连续存放, x和&x[0]的值相同2.二维数组x在内存中是按行连续存放, x、 x[0]和&x[0][0]的值相同, x[0]和x[1]相差16个字节试验任务二形参是x【】,实参是下x.input:储存输入的n个数据compete;计算去除最大值和最小值后的平均数试验
阅读全文
posted @ 2025-11-14 17:27 孙棒棒
阅读(11)
评论(1)
推荐(0)
2025年10月
实验三
摘要: 试验任务一 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score
阅读全文
posted @ 2025-10-25 12:07 孙棒棒
阅读(11)
评论(1)
推荐(0)
实验2
摘要: 实验任务一 #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define N1 80 #define N2 35 int main(){ int cnt; int random_major,random_no; s
阅读全文
posted @ 2025-10-14 16:27 孙棒棒
阅读(6)
评论(1)
推荐(0)
2025年9月
实验1
摘要: 实验任务一 #include <stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n"); return 0;
阅读全文
posted @ 2025-09-27 16:53 孙棒棒
阅读(16)
评论(1)
推荐(0)
公告