• 博客园Logo
  • 首页
  • 新闻
  • 博问
  • 助园
  • 闪存
  • 班级
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 简洁模式 ... 退出登录
    注册 登录

KFD666

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2023年5月25日

实验6

摘要: task4. #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char 阅读全文

posted @ 2023-05-25 17:21 肯德鸭 阅读(5) 评论(0) 推荐(0) 编辑

2023年5月5日

实验5

摘要: task1.1 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for (i = 0; i < N; ++i) printf("%d 阅读全文

posted @ 2023-05-05 22:12 肯德鸭 阅读(7) 评论(0) 推荐(0) 编辑

2023年4月15日

实验4

摘要: task1.1 #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d\n", siz 阅读全文

posted @ 2023-04-15 19:41 肯德鸭 阅读(9) 评论(0) 推荐(0) 编辑

2023年3月31日

实验三

摘要: task1. 实验代码 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]) 阅读全文

posted @ 2023-03-31 13:10 肯德鸭 阅读(11) 评论(0) 推荐(0) 编辑

2023年3月17日

实验2

摘要: 实验2 task1. 实验代码 #include<stdio.h> #include <stdlib.h> #include <time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; sran 阅读全文

posted @ 2023-03-17 11:23 肯德鸭 阅读(10) 评论(0) 推荐(0) 编辑

2023年3月3日

实验1

摘要: task1-1.c #include <stdio.h> int main() { printf(" o\n"); printf("<H>\n"); printf("I I\n"); printf(" o\n"); printf("<H>\n"); printf("I I\n"); return 0 阅读全文

posted @ 2023-03-03 11:07 肯德鸭 阅读(4) 评论(0) 推荐(0) 编辑

 
Powered by:
博客园
Copyright © 2023 肯德鸭
Powered by .NET 7.0 on Kubernetes