• 博客园logo
  • 会员
  • 众包
  • 新闻
  • 博问
  • 闪存
  • 赞助商
  • HarmonyOS
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
sucksskittles
博客园    首页    新随笔    联系   管理    订阅  订阅
2024年12月30日
7
摘要: 4: 码: #include<stdio.h>int main(){ int count1,count2; FILE *fp; fp=fopen("c:\\data4.txt","r"); if(fp==NULL){ printf("cannot open"); return 1; } while( 阅读全文
posted @ 2024-12-30 09:32 sucksskittle 阅读(4) 评论(0) 推荐(0)
2024年12月22日
实验六
摘要: 4: 码: #include <stdio.h>#include<string.h>#define N 10 typedef struct { char isbn[20]; char name[80]; char author[80]; double sales_price; int sales_c 阅读全文
posted @ 2024-12-22 17:34 sucksskittle 阅读(12) 评论(0) 推荐(0)
2024年12月8日
shiyan5
摘要: 1_1 #include <stdio.h>#define N 5 void input(int x[], int n);void output(int x[], int n);void find_min_max(int x[], int n, int *pmin, int *pmax); int 阅读全文
posted @ 2024-12-08 17:39 sucksskittle 阅读(5) 评论(0) 推荐(0)
2024年11月10日
实验4
摘要: 1: 代码: #include <stdio.h>#define N 4#define M 2 void test1() { int x[N] = {1, 9, 8, 4}; int i; // 输出数组x占用的内存字节数 printf("sizeof(x) = %d\n", sizeof(x)); 阅读全文
posted @ 2024-11-10 23:01 sucksskittle 阅读(13) 评论(0) 推荐(0)
2024年10月29日
实验3
摘要: 1: 代码: #include<stdio.h> char score_to_grade(int score); int main(){ int score; char grade; while(scanf("%d",&score)!=EOF){ grade=score_to_grade(score 阅读全文
posted @ 2024-10-29 23:02 sucksskittle 阅读(8) 评论(0) 推荐(0)
2024年10月14日
实验2
摘要: 任务1 代码: #include<stdlib.h>#include<time.h> #define N 5#define N1 397#define N2 476#define N3 21 int main(){ int cnt; int random_major,random_no; srand 阅读全文
posted @ 2024-10-14 22:52 sucksskittle 阅读(41) 评论(1) 推荐(0)
2024年9月28日
作业1
摘要: 任务1: #include<stdio.h>int main(){ printf(" 0 \n"); printf("<H>\n"); printf("I I\n"); return 0;} 任务2: #include<stdio.h>int main(){ double a, b, c; //输入 阅读全文
posted @ 2024-09-28 21:26 sucksskittle 阅读(17) 评论(0) 推荐(0)
2024年9月25日
我的博客主页
摘要: https://www.cnblogs.com/sucksskittles 阅读全文
posted @ 2024-09-25 00:06 sucksskittle 阅读(18) 评论(0) 推荐(0)
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3