摘要: task1.c 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) != 阅读全文
posted @ 2025-04-07 23:23 火火好样的 阅读(20) 评论(0) 推荐(0)
摘要: task1 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 int main(){ 7 int number; 8 int i; 9 10 srand(time(0)); 11 for( 阅读全文
posted @ 2025-03-21 14:53 火火好样的 阅读(9) 评论(0) 推荐(0)
摘要: 实验1 task1.c 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 return 0; 9 } 运行结果截图 task1-1.c 1 #includ 阅读全文
posted @ 2025-03-04 21:10 火火好样的 阅读(12) 评论(0) 推荐(0)