yu-hong-yan

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理
  8 随笔 :: 0 文章 :: 0 评论 :: 54 阅读

2024年12月29日

摘要: 实验任务4: 1 #include <stdio.h> 2 #include <stdlib.h> 3 int is_word(char x); 4 int main(){ 5 FILE *fp; 6 char ch; 7 int i,line=1,count=0; 8 9 fp=fopen("d: 阅读全文
posted @ 2024-12-29 10:21 於鸿艳 阅读(7) 评论(0) 推荐(0) 编辑

2024年12月16日

摘要: 实验任务4: 1 #include <stdio.h> 2 #define N 10 3 4 typedef struct { 5 char isbn[20]; // isbn号 6 char name[80]; // 书名 7 char author[80]; // 作者 8 double sal 阅读全文
posted @ 2024-12-16 21:01 於鸿艳 阅读(1) 评论(0) 推荐(0) 编辑

2024年12月3日

摘要: task1.1: 1 #include <stdio.h> 2 #define N 5 3 4 void input(int x[], int n); 5 void output(int x[], int n); 6 void find_min_max(int x[], int n, int *pm 阅读全文
posted @ 2024-12-03 19:33 於鸿艳 阅读(5) 评论(0) 推荐(0) 编辑

2024年11月5日

摘要: 试验任务1: 1 #include <stdio.h> 2 #define N 4 3 #define M 2 4 5 void test1(){ 6 int x[N]={1,9,8,4}; 7 int i; 8 printf("sizeof(x)=%d\n",sizeof(x)); 9 for(i 阅读全文
posted @ 2024-11-05 18:14 於鸿艳 阅读(6) 评论(0) 推荐(0) 编辑

2024年10月25日

摘要: 实验任务1: 1 int main(){ 2 int score; 3 char grade; 4 5 while(scanf("%d",&score)!=EOF){ 6 grade=score_to_grade(score); 7 printf("分数:%d,等级:%c\n\n",score,gr 阅读全文
posted @ 2024-10-25 18:31 於鸿艳 阅读(6) 评论(0) 推荐(0) 编辑

2024年10月10日

摘要: 实验任务1: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 #define N1 397 7 #define N2 476 8 #define N3 21 9 10 int main( 阅读全文
posted @ 2024-10-10 13:46 於鸿艳 阅读(9) 评论(0) 推荐(0) 编辑

2024年10月1日

摘要: https://www.cnblogs.com/yu-hong-yan 阅读全文
posted @ 2024-10-01 10:16 於鸿艳 阅读(12) 评论(0) 推荐(0) 编辑

2024年9月26日

摘要: 实验任务1: 1 #include <stdio.h> 2 int main() 3 { 4 printf(" o\n"); 5 printf("<H>\n"); 6 printf("I I\n"); 7 8 printf(" o\n"); 9 printf("<H>\n"); 10 printf( 阅读全文
posted @ 2024-09-26 22:00 於鸿艳 阅读(8) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示