Yh-c-learning

导航

 

2026年4月21日

摘要: 实验任务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) 阅读全文
posted @ 2026-04-21 23:08 葛益豪 阅读(7) 评论(0) 推荐(0)
 

2026年4月6日

摘要: 实验任务1: 源代码: 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)); // 以当 阅读全文
posted @ 2026-04-06 21:47 葛益豪 阅读(6) 评论(0) 推荐(0)
 

2026年4月4日

摘要: https://chuna2.787528.xyz/Yh-c-learning 阅读全文
posted @ 2026-04-04 07:28 葛益豪 阅读(6) 评论(0) 推荐(0)
 

2026年3月19日

摘要: task1-1.c(竖直2个小人) 源代码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 6 printf(" o \n"); 7 printf(" <H>\n"); 8 printf(" I I\n"); 9 10 pri 阅读全文
posted @ 2026-03-19 17:07 葛益豪 阅读(12) 评论(0) 推荐(0)