摘要: 任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 4 4 #define M 2 5 6 void test1() { 7 int x[N] = {1, 9, 8, 4}; 8 int i; 9 10 printf("siz 阅读全文
posted @ 2025-11-16 20:52 辣椒酱拌芥末 阅读(4) 评论(1) 推荐(0)
摘要: 实验任务1 源代码 1 #include <stdio.h> 2 3 char score_to_grade(int score); 4 5 int main() { 6 int score; 7 char grade; 8 9 while(scanf("%d", &score) != EOF) { 阅读全文
posted @ 2025-10-29 23:17 辣椒酱拌芥末 阅读(13) 评论(1) 推荐(0)
摘要: 实验任务1 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 30 7 #define N2 35 8 9 int main() 10 { 11 int cn 阅读全文
posted @ 2025-10-16 13:05 辣椒酱拌芥末 阅读(10) 评论(1) 推荐(0)
摘要: 实验任务1 源代码 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 system("pause"); 9 10 return 0; 11 12 } 1 阅读全文
posted @ 2025-10-07 13:48 辣椒酱拌芥末 阅读(16) 评论(3) 推荐(0)