摘要: 实验1 1 #define _CRT_SECURE_NO_WARNINGS 2 #include<stdio.h> 3 #define N 4 4 #define M 2 5 void test1() { 6 int x[N] = { 1,9,8,4 }; 7 int i; 8 printf("si 阅读全文
posted @ 2025-11-15 16:08 deepsigh 阅读(16) 评论(1) 推荐(0)
摘要: /*实验1*/ 1 #include<stdio.h> 2 char score_to_grade(int score); 3 int main(){ 4 int score; 5 char grade; 6 while(scanf("%d",&score)!=EOF){ 7 grade=score 阅读全文
posted @ 2025-10-24 15:06 deepsigh 阅读(12) 评论(1) 推荐(0)
摘要: 程序1 1 #define _CRT_SECURE_NO_WARNINGS 2 #include <stdio.h> 3 #include <stdlib.h> 4 #include <time.h> 5 #define N 5 6 #define N1 80 7 #define N2 35 8 i 阅读全文
posted @ 2025-10-14 13:51 deepsigh 阅读(9) 评论(1) 推荐(0)
摘要: 实验1(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-09-26 20:34 deepsigh 阅读(19) 评论(1) 推荐(0)