摘要: 实验3 task1: 源代码: #include <stdio.h> char score_to_grade(int score); // 函数声明 int main() { int score; char grade; while(scanf("%d", &score) != EOF) { gra 阅读全文
posted @ 2026-11-13 16:46 DancerShamir 阅读(15) 评论(0) 推荐(0)
摘要: 任务1: 源代码: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 100 #define CNT 5 int main(){ int number; int i; srand(time(0)); for(int i=0 阅读全文
posted @ 2026-10-28 09:23 DancerShamir 阅读(18) 评论(0) 推荐(0)
摘要: 声明 不知道为什么下载的代码中的中文成乱码了,所以代码中的中文有所缺失 任务1 源代码 task1.1 #include<stdio.h> int main(){ printf(" 0 0\n"); printf("<H> <H>\n"); printf(" I I I I\n"); return 阅读全文
posted @ 2026-10-16 15:44 DancerShamir 阅读(10) 评论(1) 推荐(0)