摘要: 任务4 代码: 1 #define _CRT_SECURE_NO_WARNINGS 2 #include <stdio.h> 3 4 5 #define N 3 6 7 void write(); 8 void count(); 9 10 int main() { 11 printf("测试1: 把 阅读全文
posted @ 2025-06-08 23:10 吉筱嘉 阅读(14) 评论(0) 推荐(0)
摘要: 任务4 代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #define N 10 4 5 typedef struct { 6 char isbn[20]; // isbn号 7 char name[80]; // 书名 8 char author[ 阅读全文
posted @ 2025-06-02 22:09 吉筱嘉 阅读(11) 评论(0) 推荐(0)
摘要: 任务1-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 *pmin,i 阅读全文
posted @ 2025-05-18 15:45 吉筱嘉 阅读(17) 评论(0) 推荐(0)
摘要: 任务1 代码: 1 #include<stdio.h> 2 3 #define N 4 4 #define M 2 5 6 void test1(){ 7 int x[N]={1,9,8,4}; 8 int i; 9 10 printf("sizeof(x) = %d\n",sizeof(x)); 阅读全文
posted @ 2025-04-16 21:20 吉筱嘉 阅读(25) 评论(0) 推荐(0)
摘要: 实验1 代码: 1 #include<stdio.h> 2 3 char score_to_grade(int score); 4 int main(){ 5 int score; 6 char grade; 7 8 while(scanf("%d",&score)!=EOF){ 9 grade=s 阅读全文
posted @ 2025-04-06 17:29 吉筱嘉 阅读(23) 评论(0) 推荐(0)
摘要: task1.c 代码: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <time.h> 4 5 #define N 5 6 7 int main() { 8 int number; 9 int i; 10 11 srand(time(0) 阅读全文
posted @ 2025-03-18 22:19 吉筱嘉 阅读(21) 评论(0) 推荐(0)
摘要: 任务1 代码: 1 #include<stdio.h> 2 #include<stdlib.h> 3 int main() 4 { 5 printf(" o\n"); 6 printf("<H>\n"); 7 printf("I I\n"); 8 printf(" o\n"); 9 printf(" 阅读全文
posted @ 2025-03-09 20:06 吉筱嘉 阅读(16) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/jxj0513 阅读全文
posted @ 2025-03-09 19:53 吉筱嘉 阅读(7) 评论(0) 推荐(0)
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf(" o o\n"); printf("<H> <H>\n"); printf("I I I I\n"); system("pause"); return 0; } #include<st 阅读全文
posted @ 2025-03-09 19:41 吉筱嘉 阅读(24) 评论(0) 推荐(0)