• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






toya7

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理

2022年12月23日

实验六
摘要: 实验任务四 #include<stdio.h> #define _CRT_SECURE_NO_WARNINGS #include<stdlib.h> int main(){ char ch; int count=0; FILE *fp; fp=fopen("data4.txt","r"); if(f 阅读全文
posted @ 2022-12-23 17:26 kenmochitoya 阅读(42) 评论(0) 推荐(0)
 

2022年12月21日

实验五
摘要: 实验任务三 #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char 阅读全文
posted @ 2022-12-21 12:31 kenmochitoya 阅读(16) 评论(0) 推荐(0)
 

2022年11月24日

实验四
摘要: 实验任务一1-1 #include <stdio.h> #include<stdlib.h> #define N 4 int main() { int a[N] = {1, 9, 8, 4}; char b[N] = {'1', '9', '8', '4'}; int i; printf("size 阅读全文
posted @ 2022-11-24 20:42 kenmochitoya 阅读(35) 评论(0) 推荐(0)
 

2022年11月3日

实验三
摘要: 实验任务一 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); void 阅读全文
posted @ 2022-11-03 21:05 kenmochitoya 阅读(41) 评论(0) 推荐(0)
 

2022年10月21日

实验二
摘要: 实验任务一 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for (i = 0 阅读全文
posted @ 2022-10-21 15:57 kenmochitoya 阅读(26) 评论(0) 推荐(0)
 

2022年10月14日

实验1
摘要: 实验任务1 实验任务2-1 #include<stdio.h> #include <math.h> int main() { double x, ans; while(scanf("%lf", &x) != EOF) { ans = pow(x, 365); printf("%.2f的365次方: 阅读全文
posted @ 2022-10-14 14:49 kenmochitoya 阅读(12) 评论(0) 推荐(0)