摘要: #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum 阅读全文
posted @ 2022-12-26 10:12 达达梨鸭 阅读(18) 评论(0) 推荐(0) 编辑
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> int main() { int count = 0; FILE* fp; fp = fopen("C:\\Users\\yuyee\\Desktop\\程序 阅读全文
posted @ 2022-12-26 10:11 达达梨鸭 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 任务一 #include<stdio.h>#define N 4int main(){ int a[N] = { 1,9,8,4 }; char b[N] = { '1','9','8','4' }; int i; printf("sizeof(int)=%d\n", sizeof(int)); p 阅读全文
posted @ 2022-12-01 19:38 达达梨鸭 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 任务1 #define _CRT_SECURE_NO_WARNINGS#include<stdio.h>#include<stdlib.h> #include <stdio.h>#include <stdlib.h>#include <time.h>#include <windows.h>#defi 阅读全文
posted @ 2022-11-10 22:21 达达梨鸭 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 任务1 任务2 #include<stdio.h> #include<stdlib.h> #include<time.h> int main() { int n,m; printf("猜猜2022年11月哪一天会是你的lucky day\n"); printf("开始喽,你有三次机会,猜吧(1~31 阅读全文
posted @ 2022-10-25 20:15 达达梨鸭 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 1#include<stdio.h> #include<stdlib.h> int main() { printf("0\n"); printf("<H>\n"); printf("I I\n"); printf("0\n"); printf("<H>\n"); printf("I I\n"); s 阅读全文
posted @ 2022-10-18 09:59 达达梨鸭 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2022-10-12 09:41 达达梨鸭 阅读(24) 评论(0) 推荐(0) 编辑