摘要: 实验任务1 #include<stdio.h> #define N 4 #define M 2 void test1(){ int x[N]={1,9,8,4}; int i; printf("sizeof(x)=%d\n",sizeof(x)); for(i=0;i<N;++i) printf(" 阅读全文
posted @ 2025-11-11 21:09 tensiontension 阅读(11) 评论(1) 推荐(0)
摘要: 实验任务1 #include<stdio.h> char score_to_grade(int score); int main() { int score; char grade; while(scanf("%d",&score)!=EOF){ grade=score_to_grade(score 阅读全文
posted @ 2025-10-24 15:03 tensiontension 阅读(11) 评论(1) 推荐(0)
摘要: 实验任务1 #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; 阅读全文
posted @ 2025-10-14 12:52 tensiontension 阅读(7) 评论(1) 推荐(0)
摘要: 实验任务1 task1.1c #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"); re 阅读全文
posted @ 2025-09-28 12:49 tensiontension 阅读(23) 评论(1) 推荐(0)