摘要: 实验任务一 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 #define N 4 4 #define M 2 5 void test1() { 6 int x[N] = {1, 9, 8, 4}; 7 int i; 8 printf("sizeof( 阅读全文
posted @ 2026-04-29 15:55 kasdda 阅读(8) 评论(0) 推荐(0)
摘要: 试验任务一 源代码 1 #include <stdio.h> 2 #include<stdlib.h> 3 char score_to_grade(int score); 4 int main() { 5 int score; 6 char grade; 7 while(scanf("%d", &s 阅读全文
posted @ 2026-04-15 17:22 kasdda 阅读(18) 评论(0) 推荐(0)
摘要: 试验任务一 源代码 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 #define N 5 5 int main() { 6 int number; 7 int i; 8 srand(time(0)); 9 for(i 阅读全文
posted @ 2026-04-01 16:25 kasdda 阅读(13) 评论(0) 推荐(0)
摘要: 试验任务一 源代码 1 #include <stdio.h> 2 int main() 3 { 4 printf(" O \n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 printf(" O \n"); 8 printf("<H>\n"); 9 print 阅读全文
posted @ 2026-03-18 16:44 kasdda 阅读(11) 评论(0) 推荐(0)