摘要: 任务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 吉筱嘉 阅读(9) 评论(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 吉筱嘉 阅读(3) 评论(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 吉筱嘉 阅读(8) 评论(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 吉筱嘉 阅读(4) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/jxj0513 阅读全文
posted @ 2025-03-09 19:53 吉筱嘉 阅读(3) 评论(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 吉筱嘉 阅读(5) 评论(0) 推荐(0)