tgwz

2025年11月14日

实验4

摘要: task1 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(i=0; 阅读全文

posted @ 2025-11-14 15:02 添罐望仔 阅读(8) 评论(1) 推荐(0)

2025年10月27日

实验3

摘要: task1 1 #include <stdio.h> 2 char score_to_grade(int score); 3 int main(){ 4 int score; 5 char grade; 6 while(scanf("%d",&score)!=EOF){ 7 grade=score_ 阅读全文

posted @ 2025-10-27 21:15 添罐望仔 阅读(5) 评论(1) 推荐(0)

2025年10月15日

实验任务2

摘要: task1.c 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 #define N1 80 6 #define N2 35 7 int main() { 8 int cnt; 9 int r 阅读全文

posted @ 2025-10-15 21:42 添罐望仔 阅读(9) 评论(1) 推荐(0)

2025年10月7日

实验作业1

摘要: task1-1.c 1 int main() 2 { 3 printf(" O \n"); 4 printf("<H>\n"); 5 printf("I I\n"); 6 printf(" O \n"); 7 printf("<H>\n"); 8 printf("I I\n"); 9 return 阅读全文

posted @ 2025-10-07 15:20 添罐望仔 阅读(20) 评论(0) 推荐(0)

导航