会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
ly1029
博客园
首页
新随笔
联系
订阅
管理
2025年11月
实验四
摘要: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 void test1() { 5 int x[N] = {1, 9, 8, 4}; 6 int i; 7 printf("sizeof(x) = %d\n", sizeof(x)); 8 for (
阅读全文
posted @ 2025-11-13 21:01 陆绎
阅读(20)
评论(1)
推荐(0)
2025年10月
实验三
摘要: 实验任务一: 问题一:score to grade 的功能是将分数转化为1-10的数,并输出每个数对应的A-E的等级 问题二:改写后的问题1:A-E为字符型应该用单引号括起来,问题2: A-D语句后应该加上break语句,使代码找到运行结果后就跳出switch语句,若没有break语句则还会向下继续
阅读全文
posted @ 2025-10-26 11:56 陆绎
阅读(15)
评论(1)
推荐(0)
第二次实验作业
摘要: 1 #include<stdio.h> 2 #include<stdlib.h> 3 #include<time.h> 4 5 #define N 5 6 #define N1 80 7 #define N2 35 8 9 int main(){ 10 int cnt; 11 int random_
阅读全文
posted @ 2025-10-14 11:43 陆绎
阅读(15)
评论(1)
推荐(0)
实验作业1-8 陆绎
摘要:
阅读全文
posted @ 2025-10-06 17:39 陆绎
阅读(12)
评论(1)
推荐(0)
公告