会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
xzh-12-34-56-78
博客园
首页
新随笔
联系
订阅
管理
2026年6月2日
实验五
摘要: 实验任务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 @ 2026-06-02 20:26 乌乌wuu
阅读(6)
评论(0)
推荐(0)
2026年5月5日
实验四
摘要: 任务1 #include <stdio.h> #define N 4 #define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", sizeof(x));
阅读全文
posted @ 2026-05-05 22:31 乌乌wuu
阅读(4)
评论(0)
推荐(0)
2026年4月19日
实验三
摘要: 实验任务1 #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { grade = score
阅读全文
posted @ 2026-04-19 17:58 乌乌wuu
阅读(10)
评论(0)
推荐(0)
2026年4月6日
实验二
摘要: 任务1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); for(i = 0; i < N; ++i) { numb
阅读全文
posted @ 2026-04-06 18:45 乌乌wuu
阅读(10)
评论(0)
推荐(0)
2026年3月21日
实验1
摘要: 实验任务1 1 #include <stdio.h> 2 3 int main() 4 { 5 printf(" o \n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 9 return 0; 10 } #include <stdio.h> int main(
阅读全文
posted @ 2026-03-21 21:11 乌乌wuu
阅读(15)
评论(0)
推荐(0)
公告